mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-09 15:19:07 +00:00
explicity linked ntdll on mingw-w64
This commit is contained in:
parent
f65b1d4680
commit
cb8dacabd8
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue