summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/emcc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-01-27 23:23:26 +0800
committerruki <[email protected]>2021-01-27 23:23:26 +0800
commit5edaf8c5ea6e68475c6050dc65bf86152ed66d72 (patch)
tree7449788b82a7ee911c63abbfe280d91bc170ef3b /xmake/modules/core/tools/emcc.lua
parent0d06846a572219abb13a6454600bcb802b9b7076 (diff)
fix winos.cmdargv for ar
Diffstat (limited to 'xmake/modules/core/tools/emcc.lua')
-rw-r--r--xmake/modules/core/tools/emcc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/emcc.lua b/xmake/modules/core/tools/emcc.lua
index 39f4ddfbf..a443f43f6 100644
--- a/xmake/modules/core/tools/emcc.lua
+++ b/xmake/modules/core/tools/emcc.lua
@@ -36,7 +36,7 @@ function linkargv(self, objectfiles, targetkind, targetfile, flags, opt)
opt = opt or {}
local argv = table.join("-o", targetfile, objectfiles, flags)
if is_host("windows") and not opt.rawargs then
- argv = winos.cmdargv(argv)
+ argv = winos.cmdargv(argv, {escape = true})
end
return self:program(), argv
end