diff options
| author | ruki <[email protected]> | 2026-03-12 22:59:09 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-03-12 22:59:09 +0800 |
| commit | f9d6d506bae007c99ddc1747aa5520d28e301b06 (patch) | |
| tree | e85cb995fa62854740afed120222fbe34569bb41 | |
| parent | 9cde82e4b7778e52300352f58607d96bccbbd0ad (diff) | |
| parent | 504dd35148571942aa63d7b67bbf918c7b10255c (diff) | |
Merge pull request #7392 from xmake-io/zig
Fix zig for shared libraries
| -rw-r--r-- | xmake/toolchains/zig/xmake.lua | 1 |
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) |
