diff options
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 |
