diff options
| author | ruki <[email protected]> | 2022-04-01 22:54:43 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-04-01 22:54:43 +0800 |
| commit | 8b687b4bff48f28bcd991408b0ca0fece7605515 (patch) | |
| tree | a9680ab57cbb2f4b8fde6647908278bb428f8a00 /xmake/toolchains/zig/xmake.lua | |
| parent | 4f2abecc0782004f06d15f8967db6ea7ac635aae (diff) | |
add zig as ar
Diffstat (limited to 'xmake/toolchains/zig/xmake.lua')
| -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 97dd940b7..ebfa4a00c 100644 --- a/xmake/toolchains/zig/xmake.lua +++ b/xmake/toolchains/zig/xmake.lua @@ -59,6 +59,7 @@ toolchain("zig") toolchain:set("toolset", "cxx", zig .. " c++") toolchain:set("toolset", "ld", zig .. " c++") toolchain:set("toolset", "sh", zig .. " c++") + toolchain:set("toolset", "ar", "$(env ZC)", zig) toolchain:set("toolset", "zc", "$(env ZC)", zig) toolchain:set("toolset", "zcar", "$(env ZC)", zig) toolchain:set("toolset", "zcld", "$(env ZC)", zig) |
