diff options
| author | ruki <[email protected]> | 2018-11-08 22:51:57 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-11-08 11:11:44 +0800 |
| commit | da5ba0608b0db673077d30951b7227ed42a69dca (patch) | |
| tree | 8b0968bf8cf6cd33db6704c615fd2c1db18abb7e /xmake/modules/core/tools/tcc.lua | |
| parent | a1c8f03dc30ad086a2116458ae58ec6e2eddce1b (diff) | |
add syslinks api
Diffstat (limited to 'xmake/modules/core/tools/tcc.lua')
| -rw-r--r-- | xmake/modules/core/tools/tcc.lua | 5 |
1 files changed, 5 insertions, 0 deletions
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) |
