summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-07-14 21:12:55 +0800
committerGitHub <[email protected]>2021-07-14 21:12:55 +0800
commit609d96e936637ec10278098ceb4e07257db7393b (patch)
tree7242bc9ed6be42fcbd9bfb7bf9e14fda6e6b2da6
parent7ffc15bc46ffb520ef29d8af602a5e546549fd0d (diff)
Update env.lua
-rw-r--r--xmake/modules/private/xrepo/action/env.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/xrepo/action/env.lua b/xmake/modules/private/xrepo/action/env.lua
index f9e4f702c..1db5c4564 100644
--- a/xmake/modules/private/xrepo/action/env.lua
+++ b/xmake/modules/private/xrepo/action/env.lua
@@ -219,7 +219,7 @@ function _toolchain_addenvs(envs)
local toolchain_inst = toolchain.load(name, toolchain_opt)
if toolchain_inst then
for k, v in pairs(toolchain_inst:runenvs()) do
- _addenvs(envs, k, v)
+ _addenvs(envs, k, unpack(path.splitenv(v)))
end
end
end