summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/toolchains/zig/xmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/toolchains/zig/xmake.lua b/xmake/toolchains/zig/xmake.lua
index 48a91f676..cfbc0fb05 100644
--- a/xmake/toolchains/zig/xmake.lua
+++ b/xmake/toolchains/zig/xmake.lua
@@ -74,5 +74,6 @@ toolchain("zig")
if toolchain:is_plat("windows") then
toolchain:add("zcldflags", "--subsystem console")
toolchain:add("zcldflags", "-lkernel32", "-lntdll")
+ toolchain:add("zcshflags", "-lc", "-lkernel32", "-lntdll")
end
end)