[fix] restore Linux connections and reflect actual autostart state

This commit is contained in:
dijunkun
2026-11-10 10:43:43 +08:00
parent 4e2532f33c
commit fadc8f15ab
5 changed files with 49 additions and 10 deletions
+6
View File
@@ -47,6 +47,12 @@ function setup_platform_settings()
add_cxflags("/WX")
set_runtimes("MT")
elseif is_os("linux") then
-- MiniRTC carries its own static GLib/GIO. System GTK and AT-SPI must
-- keep using the system runtime, including its separate GType registry.
-- Partial ELF interposition otherwise registers GCancellable twice and
-- leaves ICE stream initialization stuck in g_once_init_enter().
add_ldflags("-Wl,--exclude-libs,libgio-2.0.a:libgobject-2.0.a:libgthread-2.0.a:libgmodule-2.0.a:libglib-2.0.a:libffi.a",
{force = true})
add_requires("pkgconfig::atspi-2", {alias = "atspi", system = true, optional = true})
add_links("pulse-simple", "pulse")
add_requires("libyuv")