commit cb8dacabd8826c8edde53d42df63a06891cbade7 (tree)
parent f65b1d46804bce716f16465b60c6daa2921e4519
Author: emekoi <emekankurumeh@outlook.com>
Date: Tue, 22 Oct 2019 19:34:34 -0500
explicity linked ntdll on mingw-w64
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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)