aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/windows/travisbuild.sh
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 /scripts/windows/travisbuild.sh
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 'scripts/windows/travisbuild.sh')
-rw-r--r--scripts/windows/travisbuild.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/windows/travisbuild.sh b/scripts/windows/travisbuild.sh
index 02ab1db86..42f7d788d 100644
--- a/scripts/windows/travisbuild.sh
+++ b/scripts/windows/travisbuild.sh
@@ -13,6 +13,9 @@ mkdir win32
ls -l
cd win32
+# make sure we use the pre-installed version of MXE
+export MXEBUILDTYPE=i686-w64-mingw32.shared
+
# the MXE build used in this VM doesn't support FTDI
bash -ex ${TRAVIS_BUILD_DIR}/packaging/windows/mxe-based-build.sh -noftdi installer
bash -ex ${TRAVIS_BUILD_DIR}/packaging/windows/smtk2ssrf-mxe-build.sh -i