aboutsummaryrefslogtreecommitdiff
path: root/src/link.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-07-15 18:25:13 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-07-15 18:25:13 -0400
commit851a7288a9a506cbdcb025bc5842a9099bf2bb83 (patch)
treeaed928f8fa83fca2853c365df6635477003175f7 /src/link.cpp
parent49d1a4c56218cf932adddf60ad2f56a8386c76fc (diff)
downloadzig-851a7288a9a506cbdcb025bc5842a9099bf2bb83.tar.gz
zig-851a7288a9a506cbdcb025bc5842a9099bf2bb83.zip
mingw libc can link against ntdll
Diffstat (limited to 'src/link.cpp')
-rw-r--r--src/link.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/link.cpp b/src/link.cpp
index 215710d6a8..445035eb73 100644
--- a/src/link.cpp
+++ b/src/link.cpp
@@ -571,6 +571,9 @@ static const MinGWDef mingw_def_list[] = {
{"shell32", "lib-common" OS_SEP "shell32.def", true},
{"user32", "lib-common" OS_SEP "user32.def.in", true},
{"kernel32", "lib-common" OS_SEP "kernel32.def.in", true},
+ {"ntdll", "libarm32" OS_SEP "ntdll.def", true},
+ {"ntdll", "lib32" OS_SEP "ntdll.def", true},
+ {"ntdll", "lib64" OS_SEP "ntdll.def", true},
};
struct LinkJob {