aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/windows/mingw-make.sh
diff options
context:
space:
mode:
authorGravatar Claudiu Olteanu <olteanu.claudiu@ymail.com>2015-03-17 21:26:23 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-03-17 13:59:59 -0700
commitd3d3cd9e350ae0fddf9682fbf5e7c3b867d27596 (patch)
tree6498e8c63414e9ed2b67137c7d4fb548912941f2 /packaging/windows/mingw-make.sh
parent8fe738bf6447a16184df95956afd5123e6c0770d (diff)
downloadsubsurface-d3d3cd9e350ae0fddf9682fbf5e7c3b867d27596.tar.gz
Update the documentation with dependencies for cross-building on Linux to Windows
Update the documentation with dependencies for cross-building on Linux to Windows for OpenSuse platform and correct some building instructions. Moreover fix the windows building script to use the architectural specific binary. Signed-off-by: Claudiu Olteanu <olteanu.claudiu@ymail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/windows/mingw-make.sh')
-rwxr-xr-xpackaging/windows/mingw-make.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/packaging/windows/mingw-make.sh b/packaging/windows/mingw-make.sh
index 578847c4c..f242a7e44 100755
--- a/packaging/windows/mingw-make.sh
+++ b/packaging/windows/mingw-make.sh
@@ -16,8 +16,10 @@ rm $BASEDIR/../../ssrf-version.h > /dev/null 2>&1
if [[ $1 == "Qt5-64" ]] ; then
export PATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin:$PATH
+ MINGW_MAKE="mingw64-make"
else
export PATH=/usr/i686-w64-mingw32/sys-root/mingw/bin:$PATH
+ MINGW_MAKE="mingw32-make"
fi
export objdump=mingw-objdump
@@ -74,4 +76,4 @@ else
$BASEDIR/../../subsurface.pro
fi
-mingw32-make $@
+$MINGW_MAKE $@