diff options
| author | ruki <[email protected]> | 2015-06-07 16:18:45 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-06-07 16:18:45 +0800 |
| commit | f254d7f88fbbb159593cdfbadffe98498b14870c (patch) | |
| tree | 0b589224a02ca43f9851d110b206aee6b94f345e /xmake/scripts/platform/windows/tools/link.lua | |
| parent | 70aafd951297294b4f6e8e3ec8ee5058461fa59a (diff) | |
add symbols, language, strip and vectorexts
Diffstat (limited to 'xmake/scripts/platform/windows/tools/link.lua')
| -rw-r--r-- | xmake/scripts/platform/windows/tools/link.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/xmake/scripts/platform/windows/tools/link.lua b/xmake/scripts/platform/windows/tools/link.lua index e08d314a7..6b18a5e15 100644 --- a/xmake/scripts/platform/windows/tools/link.lua +++ b/xmake/scripts/platform/windows/tools/link.lua @@ -54,6 +54,17 @@ function link.init(name) -- init shflags link.shflags = {"-dll", "-nologo", flags_arch} + + -- init flags map + link.mapflags = + { + -- strip + ["-s"] = "" + , ["-S"] = "" + , ["--strip-all"] = "" + , ["--strip-debug"] = "" + } + end -- make the linker command |
