summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/link.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-09-28 23:44:36 +0800
committerruki <[email protected]>2017-09-28 16:27:39 +0800
commitb0c6c6c058dfe7fe21f42da4da8c8f03fbdb8951 (patch)
tree158a4a65af66c79a3c550393eeb4d12ee3aed206 /xmake/modules/core/tools/link.lua
parent603ecaeb969342384e55b1fe92ed6d55d8ea970c (diff)
fix compile error with space path
Diffstat (limited to 'xmake/modules/core/tools/link.lua')
-rw-r--r--xmake/modules/core/tools/link.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/link.lua b/xmake/modules/core/tools/link.lua
index 3af9e4cb3..af0d23a21 100644
--- a/xmake/modules/core/tools/link.lua
+++ b/xmake/modules/core/tools/link.lua
@@ -91,7 +91,7 @@ end
-- make the linkdir flag
function nf_linkdir(self, dir)
- return "-libpath:" .. dir
+ return "-libpath:" .. os.args(dir)
end
-- make the link arguments list