summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/cparser.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-02-19 00:32:29 +0800
committerruki <[email protected]>2021-02-19 00:32:29 +0800
commit41e6c1d82e6417f8cc0818ae37ee2677fd3692c1 (patch)
tree0090471be91de0b49e5fa81eb191f784d09bc088 /xmake/modules/core/tools/cparser.lua
parent16f8fb0248a252e185842ae2452975e6fd41aeb7 (diff)
improve export all
Diffstat (limited to 'xmake/modules/core/tools/cparser.lua')
-rw-r--r--xmake/modules/core/tools/cparser.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/cparser.lua b/xmake/modules/core/tools/cparser.lua
index a080268be..ed3c83a78 100644
--- a/xmake/modules/core/tools/cparser.lua
+++ b/xmake/modules/core/tools/cparser.lua
@@ -115,7 +115,7 @@ end
-- make the includedir flag
function nf_includedir(self, dir)
- return {"-I", dir}
+ return {"-I" .. dir}
end
-- make the sysincludedir flag
@@ -135,7 +135,7 @@ end
-- make the linkdir flag
function nf_linkdir(self, dir)
- return {"-L", dir}
+ return {"-L" .. dir}
end
-- make the link arguments list