mirror of
https://github.com/ziglang/zig.git
synced 2024-12-12 14:16:59 +00:00
explicity linked ntdll on mingw-w64
This commit is contained in:
parent
f65b1d4680
commit
cb8dacabd8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user