summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-11-14 17:03:08 +0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-11-14 17:06:10 +0800
commit15c7ee5db0d61bd12f66cea942b89cc1ef6bad6f (patch)
treec90d1ce18e2370a4ab0affc3b021725fa8fe1cdf /packaging
parent5963a15bbd8479a1a3eafcb5fc8bf9a98ccc2769 (diff)
downloadsubsurface-15c7ee5db0d61bd12f66cea942b89cc1ef6bad6f.tar.gz
MXE: respect an MXE build type already defined
And use that to have our Travis build still work with the existing MXE build container as well as the even older, pre-compiled MXE binaries used in the windows build. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/windows/mxe-based-build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/windows/mxe-based-build.sh b/packaging/windows/mxe-based-build.sh
index 455f5d6ae..58334a5a1 100755
--- a/packaging/windows/mxe-based-build.sh
+++ b/packaging/windows/mxe-based-build.sh
@@ -101,7 +101,7 @@ EXECDIR=`pwd`
BASEDIR=$(cd "$EXECDIR/.."; pwd)
BUILDDIR=$(cd "$EXECDIR"; pwd)
MXEDIR=${MXEDIR:-mxe}
-MXEBUILDTYPE="i686-w64-mingw32.shared.posix.dw2"
+MXEBUILDTYPE=${MXEBUILDTYPE:-i686-w64-mingw32.shared.posix.dw2}
echo $BUILDDIR