diff options
| author | ruki <[email protected]> | 2025-02-25 23:09:21 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-02-25 23:09:21 +0800 |
| commit | ac47c85eb55b510b6b40a567ad86fb02a7a25425 (patch) | |
| tree | f56fd0b3a46e5c2f2379310027ca4e4b3ebe16dc /xmake/modules/core | |
| parent | c1fac4f233b9c33b897ec3348d908d9560eff385 (diff) | |
improve links
Diffstat (limited to 'xmake/modules/core')
| -rw-r--r-- | xmake/modules/core/tools/kotlinc_native.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/kotlinc_native.lua b/xmake/modules/core/tools/kotlinc_native.lua index 8c703477c..c785f646f 100644 --- a/xmake/modules/core/tools/kotlinc_native.lua +++ b/xmake/modules/core/tools/kotlinc_native.lua @@ -30,6 +30,11 @@ import("lib.detect.find_tool") function init(self) end +-- make the link flag +function nf_link(self, lib) + return {"-l", lib} +end + -- make the build arguments list function buildargv(self, sourcefiles, targetkind, targetfile, flags, opt) return self:program(), table.join(flags, sourcefiles, "-o", targetfile) |
