Skip to content

Commit 58b3c9b

Browse files
authored
Manually force use of msys shell on travis windows
1 parent bd88336 commit 58b3c9b

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎.travis.yml‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ before_install:
3535
ln -s /c/tools/msys64/usr/bin/autoheader /usr/bin/ ;
3636
ln -s /c/tools/msys64/usr/bin/m4 /usr/bin/ ;
3737
PATH=$PATH:/c/tools/msys64/usr/bin/ ;
38-
export CONFIG_SHELL=/usr/bin/bash.exe ;
39-
export SHELL=/usr/bin/bash.exe ;
4038
fi
4139
- curl https://s3.amazonaws.com/libhttpserver/libmicrohttpd_releases/libmicrohttpd-0.9.59.tar.gz -o libmicrohttpd-0.9.59.tar.gz
4240
- tar -xzf libmicrohttpd-0.9.59.tar.gz
@@ -45,7 +43,8 @@ before_install:
4543
- if [[ "$ARM_ARCH_DIR" != "" ]]; then
4644
./configure --build `./config.guess` --host $ARM_ARCH_DIR --disable-examples;
4745
elif [[ "$TRAVIS_OS_NAME" = "windows" ]]; then
48-
./configure --prefix=/usr --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --disable-examples --disable-https --enable-shared --enable-static ;
46+
export CONFIG_SHELL=/usr/bin/bash.exe ;
47+
CONFIG_SHELL=/usr/bin/bash.exe /usr/bin/bash.exe ./configure --prefix=/usr --disable-examples --disable-https --enable-shared --enable-static ;
4948
else
5049
./configure --disable-examples;
5150
fi

0 commit comments

Comments
 (0)