summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/sdar.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/sdar.lua
parent0d06846a572219abb13a6454600bcb802b9b7076 (diff)
fix winos.cmdargv for ar
Diffstat (limited to 'xmake/modules/core/tools/sdar.lua')
-rw-r--r--xmake/modules/core/tools/sdar.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/sdar.lua b/xmake/modules/core/tools/sdar.lua
index 056ca32d3..41b961444 100644
--- a/xmake/modules/core/tools/sdar.lua
+++ b/xmake/modules/core/tools/sdar.lua
@@ -52,7 +52,7 @@ function linkargv(self, objectfiles, targetkind, targetfile, flags, opt)
opt = opt or {}
local argv = table.join(flags, targetfile, objectfiles)
if is_host("windows") and not opt.rawargs then
- argv = winos.cmdargv(argv)
+ argv = winos.cmdargv(argv, {escape = true})
end
-- make it