summaryrefslogtreecommitdiffstats
path: root/packaging/windows/mxe-based-build.sh
diff options
context:
space:
mode:
authorGravatar Stefan Fuchs <sfuchs@gmx.de>2018-03-23 19:55:00 +0100
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-03-26 05:34:00 +0300
commitbb922e8db27bb462c3c92cb11e71f1ccdbe6f401 (patch)
treeb983f678177d4eabaa2ef855c7d2abe0666a485d /packaging/windows/mxe-based-build.sh
parentbca7f8ed6140e333b9858fafb4427f1a2924cb4a (diff)
downloadsubsurface-bb922e8db27bb462c3c92cb11e71f1ccdbe6f401.tar.gz
MXE Windows build script: Do right build flavor also for googlemaps
Do the right build flavor also for the googlemaps plugin. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'packaging/windows/mxe-based-build.sh')
-rwxr-xr-xpackaging/windows/mxe-based-build.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/packaging/windows/mxe-based-build.sh b/packaging/windows/mxe-based-build.sh
index 8ff1ec721..19f7ed320 100755
--- a/packaging/windows/mxe-based-build.sh
+++ b/packaging/windows/mxe-based-build.sh
@@ -108,6 +108,7 @@ export CXXFLAGS=-std=c++11
if [[ "$1" == "debug" ]] ; then
RELEASE="Debug"
RELEASE_MAIN="Debug"
+ RELEASE_GM="debug"
DLL_SUFFIX="d"
shift
if [[ -f Release ]] ; then
@@ -117,6 +118,7 @@ if [[ "$1" == "debug" ]] ; then
else
RELEASE="Release"
RELEASE_MAIN="RelWithDebInfo"
+ RELEASE_GM="release"
DLL_SUFFIX=""
if [[ -f Debug ]] ; then
rm -rf *
@@ -202,8 +204,8 @@ if [[ ! -d googlemaps || -f build.googlemaps ]] ; then
mkdir -p googlemaps
cd googlemaps
"$BASEDIR"/"$MXEDIR"/usr/i686-w64-mingw32.shared/qt5/bin/qmake PREFIX=$"$BASEDIR"/"$MXEDIR"/usr/i686-w64-mingw32.shared "$BASEDIR"/googlemaps/googlemaps.pro
- make $JOBS
- make install
+ make $JOBS $RELEASE_GM
+ make "$RELEASE_GM"-install
fi
###############