summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/cparser.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-11-08 22:51:57 +0800
committerruki <[email protected]>2018-11-08 11:11:44 +0800
commitda5ba0608b0db673077d30951b7227ed42a69dca (patch)
tree8b0968bf8cf6cd33db6704c615fd2c1db18abb7e /xmake/modules/core/tools/cparser.lua
parenta1c8f03dc30ad086a2116458ae58ec6e2eddce1b (diff)
add syslinks api
Diffstat (limited to 'xmake/modules/core/tools/cparser.lua')
-rw-r--r--xmake/modules/core/tools/cparser.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/cparser.lua b/xmake/modules/core/tools/cparser.lua
index 84eb91fc4..c993b8317 100644
--- a/xmake/modules/core/tools/cparser.lua
+++ b/xmake/modules/core/tools/cparser.lua
@@ -139,6 +139,11 @@ function nf_link(self, lib)
return "-l" .. lib
end
+-- make the syslink flag
+function nf_syslink(self, lib)
+ return nf_link(self, lib)
+end
+
-- make the linkdir flag
function nf_linkdir(self, dir)
return "-L" .. os.args(dir)