Skip to content

Commit 263b118

Browse files
committed
fix zig build
1 parent 1476fb2 commit 263b118

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

make/detect_platform.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ elseif platform.os == 'linux' then
2525
local use_zig = os.getenv("USE_ZIG")
2626
if use_zig and use_zig ~= "0" and use_zig ~= "false" then
2727
lm.cc = 'zig cc'
28+
lm.cxx = 'zig c++'
2829
lm.ar = 'zig ar'
2930

3031
if lm.platform == nil then

0 commit comments

Comments
 (0)