summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-11-15 23:24:10 +0800
committerruki <[email protected]>2023-11-15 14:25:27 +0800
commit4b102cbd2221494395e6e279ed453eee81ba45a4 (patch)
tree8ed1138d66cd59e95422bef6e08a1fabf3a9c8a9
parent58c7481aab7ebfa66521cc292abe53a8b4cd7550 (diff)
fix links #4375
-rw-r--r--xmake/toolchains/zig/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/toolchains/zig/xmake.lua b/xmake/toolchains/zig/xmake.lua
index d6d3e1de2..2cdd7cb8b 100644
--- a/xmake/toolchains/zig/xmake.lua
+++ b/xmake/toolchains/zig/xmake.lua
@@ -126,6 +126,6 @@ toolchain("zig")
-- @see https://github.com/ziglang/zig/issues/5825
if toolchain:is_plat("windows") then
toolchain:add("zcldflags", "--subsystem console")
- toolchain:add("syslinks", "kernel32", "ntdll")
+ toolchain:add("zcldflags", "-lkernel32", "-lntdll")
end
end)