From d3d3cd9e350ae0fddf9682fbf5e7c3b867d27596 Mon Sep 17 00:00:00 2001 From: Claudiu Olteanu Date: Tue, 17 Mar 2015 21:26:23 +0200 Subject: 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 Signed-off-by: Dirk Hohndel --- packaging/windows/mingw-make.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packaging/windows') 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 $@ -- cgit v1.2.3-70-g09d2