summaryrefslogtreecommitdiffstats
path: root/js/src/build/moz.build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
commitda4c7e7ed675c3bf405668739c3012d140856109 (patch)
treecdd868dba063fecba609a1d819de271f0d51b23e /js/src/build/moz.build
parentAdding upstream version 125.0.3. (diff)
downloadfirefox-da4c7e7ed675c3bf405668739c3012d140856109.tar.xz
firefox-da4c7e7ed675c3bf405668739c3012d140856109.zip
Adding upstream version 126.0.upstream/126.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'js/src/build/moz.build')
-rw-r--r--js/src/build/moz.build10
1 files changed, 10 insertions, 0 deletions
diff --git a/js/src/build/moz.build b/js/src/build/moz.build
index 089ef37b05..b38f848c7a 100644
--- a/js/src/build/moz.build
+++ b/js/src/build/moz.build
@@ -82,10 +82,20 @@ if CONFIG["OS_ARCH"] == "WINNT":
"bcrypt",
"ntdll",
]
+ # Version string comparison is generally wrong, but by the time it would
+ # actually matter, either bug 1489995 would be fixed, or the build would
+ # require version >= 1.78.
+ if CONFIG["RUSTC_VERSION"] and CONFIG["RUSTC_VERSION"] >= "1.78.0":
+ OS_LIBS += [
+ "synchronization",
+ ]
if CONFIG["MOZ_NEEDS_LIBATOMIC"]:
OS_LIBS += ["atomic"]
+if CONFIG["TARGET_OS"] == "iOS":
+ OS_LIBS += ["-framework BrowserEngineCore"]
+
OS_LIBS += CONFIG["REALTIME_LIBS"]
NO_EXPAND_LIBS = True