diff options
| -rw-r--r-- | xmake/toolchains/zig/xmake.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/toolchains/zig/xmake.lua b/xmake/toolchains/zig/xmake.lua index 87126b787..2b3abf57b 100644 --- a/xmake/toolchains/zig/xmake.lua +++ b/xmake/toolchains/zig/xmake.lua @@ -54,6 +54,11 @@ toolchain("zig") table.join2(paths, envs.PATH) end end + local sdkdir = toolchain:sdkdir() + if sdkdir then + table.insert(paths, sdkdir) + end + local zig = get_config("zc") local zig_version if not zig then |
