mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
Bug 1836723 - Link against ntdll for rustc 1.70. r=firefox-build-system-reviewers,ahochheiden
Building with rustc 1.70 adds a dependency to the ntdll library through libstd using NtCreateFile/NtWriteFile (it previously picked the symbols at runtime). Differential Revision: https://phabricator.services.mozilla.com/D180011
This commit is contained in:
parent
98a98f9cae
commit
aec3a901e6
@ -82,6 +82,7 @@ if CONFIG["OS_ARCH"] == "SunOS":
|
||||
if CONFIG["OS_ARCH"] == "WINNT":
|
||||
OS_LIBS += [
|
||||
"bcrypt",
|
||||
"ntdll",
|
||||
]
|
||||
|
||||
if CONFIG["MOZ_NEEDS_LIBATOMIC"]:
|
||||
|
@ -28,6 +28,7 @@ if CONFIG["OS_ARCH"] == "WINNT":
|
||||
]
|
||||
OS_LIBS += [
|
||||
"bcrypt",
|
||||
"ntdll",
|
||||
]
|
||||
|
||||
|
||||
|
@ -30,6 +30,7 @@ if CONFIG["OS_ARCH"] == "WINNT":
|
||||
]
|
||||
OS_LIBS += [
|
||||
"bcrypt",
|
||||
"ntdll",
|
||||
]
|
||||
|
||||
|
||||
|
@ -18,6 +18,7 @@ if CONFIG["OS_ARCH"] == "WINNT":
|
||||
"ncrypt",
|
||||
"userenv",
|
||||
"ws2_32",
|
||||
"ntdll",
|
||||
]
|
||||
|
||||
if CONFIG["OS_ARCH"] == "Darwin":
|
||||
|
@ -71,6 +71,7 @@ OS_LIBS += [
|
||||
"userenv",
|
||||
"wininet",
|
||||
"ws2_32",
|
||||
"ntdll",
|
||||
]
|
||||
|
||||
DEFINES["NS_NO_XPCOM"] = True
|
||||
|
Loading…
Reference in New Issue
Block a user