From def92d1b8e9d373e2f6f27c366d578d97d8960c6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:34:50 +0200 Subject: Merging upstream version 126.0. Signed-off-by: Daniel Baumann --- toolkit/library/moz.build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'toolkit/library/moz.build') diff --git a/toolkit/library/moz.build b/toolkit/library/moz.build index 185d5f74d0..9fa86b386b 100644 --- a/toolkit/library/moz.build +++ b/toolkit/library/moz.build @@ -59,7 +59,7 @@ def Libxul(name, output_category=None): ] if CONFIG["ACCESSIBILITY"]: - DELAYLOAD_DLLS += ["oleacc.dll"] + DELAYLOAD_DLLS += ["oleacc.dll", "UIAutomationCore.dll"] if CONFIG["MOZ_WEBRTC"]: DELAYLOAD_DLLS += ["msdmo.dll"] @@ -100,6 +100,7 @@ def Libxul(name, output_category=None): LDFLAGS += ["-Wl,-U,_OBJC_CLASS_$_NSCustomTouchBarItem"] LDFLAGS += ["-Wl,-U,_OBJC_CLASS_$_NSPopoverTouchBarItem"] LDFLAGS += ["-lresolv"] + LDFLAGS += ["-Wl,-rpath,@executable_path/../Frameworks/ChannelPrefs.framework"] if CONFIG["MOZ_DEBUG_SYMBOLS"] and CONFIG["CC_TYPE"] == "clang-cl": LDFLAGS += ["-NATVIS:%s/toolkit/library/gecko.natvis" % TOPSRCDIR] @@ -232,6 +233,9 @@ if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa": "-framework CoreSymbolication", "cups", ] + USE_LIBS += [ + "ChannelPrefs", + ] if CONFIG["MOZ_WIDGET_TOOLKIT"] == "uikit": OS_LIBS += [ @@ -377,6 +381,7 @@ if CONFIG["OS_ARCH"] == "WINNT": if CONFIG["ACCESSIBILITY"]: OS_LIBS += [ "oleacc", + "uiautomationcore", ] # Prevent winapi-rs from statically linking -- cgit v1.2.3