diff options
| author | ruki <[email protected]> | 2017-02-06 21:56:55 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-02-06 21:56:55 +0800 |
| commit | e9aa23db2437faf17ca097e891ec5a1e628865f3 (patch) | |
| tree | 9c6aa8f108f84ba07e5016796a28b7b8401e0ad8 /xmake/tools/link.lua | |
| parent | 2c125229b2da9e9d854275ae08cd29ecf57a447d (diff) | |
modify linker script
Diffstat (limited to 'xmake/tools/link.lua')
| -rwxr-xr-x | xmake/tools/link.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xmake/tools/link.lua b/xmake/tools/link.lua index caea45029..c7e9096bf 100755 --- a/xmake/tools/link.lua +++ b/xmake/tools/link.lua @@ -72,12 +72,12 @@ function get(name) end -- make the strip flag -function strip(level) +function nf_strip(level) return "" end -- make the symbol flag -function symbol(level, target) +function nf_symbol(level, target) -- debug? generate *.pdb file local flags = "" @@ -93,15 +93,15 @@ function symbol(level, target) return flags end --- make the linklib flag -function linklib(lib) +-- make the link flag +function nf_link(lib) -- make it return lib .. ".lib" end -- make the linkdir flag -function linkdir(dir) +function nf_linkdir(dir) -- make it return "-libpath:" .. dir |
