diff options
| author | ruki <[email protected]> | 2017-09-28 23:44:36 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-09-28 16:27:39 +0800 |
| commit | b0c6c6c058dfe7fe21f42da4da8c8f03fbdb8951 (patch) | |
| tree | 158a4a65af66c79a3c550393eeb4d12ee3aed206 /xmake/modules/core/tools/swiftc.lua | |
| parent | 603ecaeb969342384e55b1fe92ed6d55d8ea970c (diff) | |
fix compile error with space path
Diffstat (limited to 'xmake/modules/core/tools/swiftc.lua')
| -rw-r--r-- | xmake/modules/core/tools/swiftc.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/core/tools/swiftc.lua b/xmake/modules/core/tools/swiftc.lua index 320e93a08..461dd75bd 100644 --- a/xmake/modules/core/tools/swiftc.lua +++ b/xmake/modules/core/tools/swiftc.lua @@ -152,7 +152,7 @@ end -- make the includedir flag function nf_includedir(self, dir) - return "-Xcc -I" .. dir + return "-Xcc -I" .. os.args(dir) end -- make the define flag @@ -172,7 +172,7 @@ end -- make the frameworkdir flag function nf_frameworkdir(self, frameworkdir) - return "-F " .. frameworkdir + return "-F " .. os.args(frameworkdir) end -- make the link flag @@ -182,7 +182,7 @@ end -- make the linkdir flag function nf_linkdir(self, dir) - return "-L" .. dir + return "-L" .. os.args(dir) end -- make the link arguments list |
