summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/link.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/link.lua
parenta1c8f03dc30ad086a2116458ae58ec6e2eddce1b (diff)
add syslinks api
Diffstat (limited to 'xmake/modules/core/tools/link.lua')
-rw-r--r--xmake/modules/core/tools/link.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/link.lua b/xmake/modules/core/tools/link.lua
index ae2112559..baf300ff2 100644
--- a/xmake/modules/core/tools/link.lua
+++ b/xmake/modules/core/tools/link.lua
@@ -83,6 +83,11 @@ function nf_link(self, lib)
return lib .. ".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 "-libpath:" .. os.args(dir)