summaryrefslogtreecommitdiffstats
path: root/scripts/windows
diff options
context:
space:
mode:
authorGravatar Rolf Eike Beer <eike@sf-mail.de>2019-03-07 21:58:52 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-03-09 09:51:55 -0800
commit17211acc53f511282e7fb5518080ae56ef799f15 (patch)
tree67a0bf2abdd2644ace0dfa4c445b108dbf1536d5 /scripts/windows
parent3664cc4ee6f9dc4e0d68bc3f0dc51ef2c8fadd95 (diff)
downloadsubsurface-17211acc53f511282e7fb5518080ae56ef799f15.tar.gz
remove obsolete workaround for libdivecomputer includes of libusb
This has been fixed in revision b1d434f0ea9a2958613da9bed32ff3ff3318065e there. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
Diffstat (limited to 'scripts/windows')
-rw-r--r--scripts/windows/before_install.sh11
1 files changed, 2 insertions, 9 deletions
diff --git a/scripts/windows/before_install.sh b/scripts/windows/before_install.sh
index 449d6a938..3383f0dec 100644
--- a/scripts/windows/before_install.sh
+++ b/scripts/windows/before_install.sh
@@ -9,7 +9,7 @@ git pull --tags
git describe
# grab our own custom MXE environment
-cd ${TRAVIS_BUILD_DIR}/..
+pushd ${TRAVIS_BUILD_DIR}/..
echo "Downloading prebuilt MXE environment from Subsurface-divelog.org"
wget -q http://subsurface-divelog.org/downloads/mxe-994ad473.tar.xz
mkdir -p mxe
@@ -21,14 +21,7 @@ sudo mkdir -p /data/winqt551/
sudo ln -s ${TRAVIS_BUILD_DIR}/../mxe /data/winqt551/mxe-current
ls -l /data/winqt551/mxe-current/usr
sudo ln -s ${TRAVIS_BUILD_DIR}/../mxe /usr/src/mxe
-
-# libdivecomputer uses the wrong include path for libusb
-# the pkgconfig file for libusb already gives the include path as
-# ../include/libusb-1.0 yet libdivecomputer wants to use
-# include <libusb-1.0/libusb.h>
-cd usr/i686-w64-mingw32.shared/include/libusb-1.0
-ln -s . libusb-1.0
-cd ${TRAVIS_BUILD_DIR}/..
+popd
# now set up our other dependencies