summaryrefslogtreecommitdiff
path: root/xmake/rules/xcode/application/run.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules/xcode/application/run.lua')
-rw-r--r--xmake/rules/xcode/application/run.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/xcode/application/run.lua b/xmake/rules/xcode/application/run.lua
index 5f7d1585d..9859321bc 100644
--- a/xmake/rules/xcode/application/run.lua
+++ b/xmake/rules/xcode/application/run.lua
@@ -44,7 +44,7 @@ function _run_on_macosx(target, opt)
if option.get("debug") then
debugger.run(targetfile, option.get("arguments"), {addrunenvs = addrunenvs, setrunenvs = setrunenvs})
else
- os.execv(targetfile, option.get("arguments"), {envs = runenvs.join()})
+ os.execv(targetfile, option.get("arguments"), {envs = runenvs.join(addrunenvs, setrunenvs)})
end
-- restore the previous directory