summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/ml.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-03-26 00:07:17 +0800
committerruki <[email protected]>2020-03-25 18:43:45 +0800
commit493fffe734e944e153c04bbe46e77c2069581f47 (patch)
tree456f14038827fad4f33f1cc64a7c8d9d01e9ca79 /xmake/modules/core/tools/ml.lua
parentc570330bbc7fd11410985a46486e7c5edc66d9bf (diff)
improve os.args
Diffstat (limited to 'xmake/modules/core/tools/ml.lua')
-rw-r--r--xmake/modules/core/tools/ml.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/ml.lua b/xmake/modules/core/tools/ml.lua
index 24ee3ecab..c1bea35b3 100644
--- a/xmake/modules/core/tools/ml.lua
+++ b/xmake/modules/core/tools/ml.lua
@@ -92,7 +92,7 @@ end
-- make the compile arguments list
function _compargv1(self, sourcefile, objectfile, flags)
- return self:program(), table.join("-c", flags, "-Fo" .. objectfile, sourcefile)
+ return self:program(), table.join("-c", flags, "-Fo" .. os.args(objectfile), sourcefile)
end
-- compile the source file