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>
This commit is contained in:
Stefan Fuchs 2018-03-23 19:55:00 +01:00 committed by Lubomir I. Ivanov
parent bca7f8ed61
commit bb922e8db2

View file

@ -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
###############