summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/windows/tools/link.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-06-07 16:18:45 +0800
committerruki <[email protected]>2015-06-07 16:18:45 +0800
commitf254d7f88fbbb159593cdfbadffe98498b14870c (patch)
tree0b589224a02ca43f9851d110b206aee6b94f345e /xmake/scripts/platform/windows/tools/link.lua
parent70aafd951297294b4f6e8e3ec8ee5058461fa59a (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.lua11
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