diff options
| author | ruki <[email protected]> | 2025-12-23 22:46:12 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-12-23 22:46:12 +0800 |
| commit | 18d811a5453224ad2a71b9d31eb5553918dc2c21 (patch) | |
| tree | d855a3dc087f6475b064d30a706ae2fe44391dac | |
| parent | e0c5f68ea4892333ca4a4b10362f1e9aa8ce9118 (diff) | |
fix llvm path envs
| -rw-r--r-- | xmake/modules/private/utils/toolchain.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/modules/private/utils/toolchain.lua b/xmake/modules/private/utils/toolchain.lua index af165080f..48aabdffa 100644 --- a/xmake/modules/private/utils/toolchain.lua +++ b/xmake/modules/private/utils/toolchain.lua @@ -115,7 +115,9 @@ function _add_vsenv(toolchain, name, curenvs) if (name == "INCLUDE" or name == "LIB") and not is_host("windows") then toolchain:add("runenvs", name, path.joinenv(path.splitenv(new), ";")) else - toolchain:add("runenvs", name, table.unwrap(path.splitenv(new))) + for _, item in ipairs(path.splitenv(new)) do + toolchain:add("runenvs", name, item) + end end end end |
