comparison INSTALL @ 24:1470cb8a00a8

Remove strip from cmake config as it has no effect
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 11 Apr 2016 11:00:59 +0200
parents 79771751d0dc
children f4aaf1cd8cb0
comparison
equal deleted inserted replaced
23:927794e3cc52 24:1470cb8a00a8
63 git clone https://github.com/Intevation/mxe.git $MXEPATH 63 git clone https://github.com/Intevation/mxe.git $MXEPATH
64 cd $MXEPATH 64 cd $MXEPATH
65 git checkout clickerconvert 65 git checkout clickerconvert
66 echo "MXE_TARGETS := i686-w64-mingw32.static" > settings.mk 66 echo "MXE_TARGETS := i686-w64-mingw32.static" > settings.mk
67 make qtbase 67 make qtbase
68
69 Add CMAKE_STRIP to the toolchain file:
70
71 echo "set(CMAKE_STRIP $MXEPATH/usr/bin/i686-w64-mingw32.static-strip)" >> \
72 "$MXEPATH/usr/i686-w64-mingw32.static/share/cmake/mxe-conf.cmake"
73 68
74 Workaround Qt CMake Bugs: 69 Workaround Qt CMake Bugs:
75 70
76 find $MXEPATH/usr/i686-w64-mingw32.static/qt5/lib/cmake -name \*.cmake | \ 71 find $MXEPATH/usr/i686-w64-mingw32.static/qt5/lib/cmake -name \*.cmake | \
77 xargs sed -i 's/\/\([a-z]*\)\.lib/\/lib\1\.a/g' 72 xargs sed -i 's/\/\([a-z]*\)\.lib/\/lib\1\.a/g'
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)