diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-25 19:39:52 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-25 19:39:52 +0100 |
| commit | 5003ba76ddd1b60fcbabf654cf399c5bcdbdea54 (patch) | |
| tree | 9fc2e2060df610b5cbd0f1c34c568496f0b2e194 | |
| parent | 81e0ec64eccf10232628fdf89149b3a66f231312 (diff) | |
Strip dvdomatic DLLs and .exe
| -rwxr-xr-x | build-windows | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build-windows b/build-windows index 6ef0a90cb..d10961845 100755 --- a/build-windows +++ b/build-windows @@ -2,6 +2,7 @@ export MINGW_CXX="i686-w64-mingw32-g++" export MINGW_WINDRES="i686-w64-mingw32-windres" +export MINGW_STRIP="i686-w64-mingw32-strip" export MINGW_PREFIX="/usr/i686-w64-mingw32" export WINDOWS_PREFIX="/home/carl/src/windows" @@ -16,6 +17,13 @@ d=`pwd` cp build/windows/installer.nsi build/windows/installer2.nsi +$MINGW_STRIP build/src/tools/dvdomatic.exe -o build/src/tools/dvdomatic.exe.tmp +mv build/src/tools/dvdomatic.exe.tmp build/src/tools/dvdomatic.exe +$MINGW_STRIP build/src/wx/dvdomatic-wx.dll -o build/src/wx/dvdomatic-wx.dll.tmp +mv build/src/wx/dvdomatic-wx.dll.tmp build/src/wx/dvdomatic-wx.dll +$MINGW_STRIP build/src/lib/dvdomatic.dll -o build/src/lib/dvdomatic.dll.tmp +mv build/src/lib/dvdomatic.dll.tmp build/src/lib/dvdomatic.dll + sed -i "s~%resources%~$d/windows~g" build/windows/installer2.nsi sed -i "s~%deps%~$WINDOWS_PREFIX~g" build/windows/installer2.nsi sed -i "s~%binaries%~$d/build~g" build/windows/installer2.nsi |
