diff options
| author | emekoi <emekankurumeh@outlook.com> | 2019-10-22 19:34:34 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-10-22 20:42:51 -0400 |
| commit | cb8dacabd8826c8edde53d42df63a06891cbade7 (patch) | |
| tree | 5cdaf1a00c610d9fd6fe3cf8ea7a47b3e736de06 /CMakeLists.txt | |
| parent | f65b1d46804bce716f16465b60c6daa2921e4519 (diff) | |
| download | zig-cb8dacabd8826c8edde53d42df63a06891cbade7.tar.gz zig-cb8dacabd8826c8edde53d42df63a06891cbade7.zip | |
explicity linked ntdll on mingw-w64
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index cd1ba9d3f8..132f9ff578 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -632,6 +632,8 @@ set_target_properties(zig PROPERTIES target_link_libraries(zig compiler "${LIBUSERLAND}") if(MSVC) target_link_libraries(zig ntdll.lib) +elseif(MINGW) + target_link_libraries(zig ntdll) endif() add_dependencies(zig zig_build_libuserland) install(TARGETS zig DESTINATION bin) |
