diff options
| author | ruki <[email protected]> | 2021-02-09 16:37:27 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-09 16:37:27 +0800 |
| commit | b5b7cf1d0574b789d0d7d8a5ced75eaf16e82a99 (patch) | |
| tree | 76ad10c3bf0d70c57aa5ea5a0c2e007d024f15a9 /xmake/modules/core/tools/ml.lua | |
| parent | c4d7b7994101e9ed897a19fefc660874d9528f6c (diff) | |
| parent | e37dbcd878fcb455b69ed57e7f271a8e614fb494 (diff) | |
Merge pull request #1236 from xmake-io/space
Fix includedirs with spaces
Diffstat (limited to 'xmake/modules/core/tools/ml.lua')
| -rw-r--r-- | xmake/modules/core/tools/ml.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/ml.lua b/xmake/modules/core/tools/ml.lua index e3893d05e..a90cade20 100644 --- a/xmake/modules/core/tools/ml.lua +++ b/xmake/modules/core/tools/ml.lua @@ -87,7 +87,7 @@ end -- make the includedir flag function nf_includedir(self, dir) - return "-I" .. os.args(dir) + return {"-I", dir} end -- make the sysincludedir flag @@ -97,7 +97,7 @@ end -- make the compile arguments list function compargv(self, sourcefile, objectfile, flags) - return self:program(), table.join("-c", flags, "-Fo" .. os.args(objectfile), sourcefile) + return self:program(), table.join("-c", flags, "-Fo" .. objectfile, sourcefile) end -- compile the source file |
