summaryrefslogtreecommitdiffstats
path: root/packaging/windows
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-11-14 16:13:42 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-11-15 12:28:51 +0100
commitbd9dad7371f88dcebab53fd871f9ecf5397fc033 (patch)
tree7b37ffe5a4d906bf13f8c6eb2de71d5962db0a89 /packaging/windows
parentf02388d6b795509fd6e94b0aa0348bfcf0a5af71 (diff)
downloadsubsurface-bd9dad7371f88dcebab53fd871f9ecf5397fc033.tar.gz
MXE: move the objcopy calls to cmakelists.txt
The objcopy calls to strip the debug symbols out of subsurface.exe need to happen before the installer is created (staged). Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'packaging/windows')
-rwxr-xr-xpackaging/windows/mxe-based-build.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/packaging/windows/mxe-based-build.sh b/packaging/windows/mxe-based-build.sh
index ae51109ce..3c6c7fa34 100755
--- a/packaging/windows/mxe-based-build.sh
+++ b/packaging/windows/mxe-based-build.sh
@@ -281,10 +281,3 @@ i686-w64-mingw32.shared-cmake \
"$BASEDIR"/subsurface
make $JOBS "$@"
-
-OBJCOPY="i686-w64-mingw32.shared-objcopy"
-if [[ "$RELEASE_MAIN" == "RelWithDebInfo" ]] ; then
- $OBJCOPY --only-keep-debug subsurface.exe subsurface.exe.debug
- $OBJCOPY --strip-debug --strip-unneeded subsurface.exe
- $OBJCOPY --add-gnu-debuglink=subsurface.exe.debug subsurface.exe
-fi