Skip to content

Commit 4e0d937

Browse files
authored
[bazel][windows] Add ntdll linkopt for Support (#94501)
Mirror the cmake change in cb7690a ``` lld-link: error: undefined symbol: __declspec(dllimport) RtlGetLastNtStatus >>> referenced by Support.lib(ErrorHandling.obj):(class std::error_code __cdecl llvm::mapLastWindowsError(void)) ```
1 parent 2b939e1 commit 4e0d937

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/bazel/llvm-project-overlay/llvm/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ cc_library(
287287
linkopts = select({
288288
"@platforms//os:windows": [
289289
"ws2_32.lib",
290+
"ntdll.lib",
290291
],
291292
"@platforms//os:freebsd": [
292293
"-pthread",

0 commit comments

Comments
 (0)