Mercurial > trustbridge
comparison INSTALL @ 1019:4f999c7821ce 0.9
Strip created executables
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 02 Sep 2014 16:03:40 +0200 |
parents | 0570b1e562c2 |
children | 5ec1cf66922e |
comparison
equal
deleted
inserted
replaced
1018:86181a99da76 | 1019:4f999c7821ce |
---|---|
226 echo "MXE_TARGETS := i686-w64-mingw32.static" > settings.mk | 226 echo "MXE_TARGETS := i686-w64-mingw32.static" > settings.mk |
227 make polarssl | 227 make polarssl |
228 make qtbase | 228 make qtbase |
229 (optional) make curl | 229 (optional) make curl |
230 | 230 |
231 Add CMAKE_STRIP to the toolchain file: | |
232 echo "set(CMAKE_STRIP $MXEPATH/usr/bin/i686-w64-mingw32.static-strip)" >> \ | |
233 "$MXEPATH/usr/i686-w64-mingw32.static/share/cmake/mxe-conf.cmake" | |
234 | |
231 Workaround Qt CMake Bugs: | 235 Workaround Qt CMake Bugs: |
232 find $MXEPATH/usr/i686-w64-mingw32.static/qt5/lib/cmake -name \*.cmake | \ | 236 find $MXEPATH/usr/i686-w64-mingw32.static/qt5/lib/cmake -name \*.cmake | \ |
233 xargs sed -i 's/\/\([a-z]*\)\.lib/\/lib\1\.a/g' | 237 xargs sed -i 's/\/\([a-z]*\)\.lib/\/lib\1\.a/g' |
234 sed -i 's/^_qt5gui_find_extra_libs.*//' \ | 238 sed -i 's/^_qt5gui_find_extra_libs.*//' \ |
235 $MXEPATH/usr/i686-w64-mingw32.static/qt5/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake | 239 $MXEPATH/usr/i686-w64-mingw32.static/qt5/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake |