From 609d96e936637ec10278098ceb4e07257db7393b Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 14 Jul 2021 21:12:55 +0800 Subject: Update env.lua --- xmake/modules/private/xrepo/action/env.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1