From da5ba0608b0db673077d30951b7227ed42a69dca Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 8 Nov 2018 22:51:57 +0800 Subject: add syslinks api --- xmake/modules/core/tools/tcc.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'xmake/modules/core/tools/tcc.lua') diff --git a/xmake/modules/core/tools/tcc.lua b/xmake/modules/core/tools/tcc.lua index 98c157edf..dd2bb594a 100644 --- a/xmake/modules/core/tools/tcc.lua +++ b/xmake/modules/core/tools/tcc.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) -- cgit v1.3.1