diff --git a/install.sh b/install.sh index 7a3588113a..e834c27d66 100755 --- a/install.sh +++ b/install.sh @@ -74,7 +74,14 @@ if [[ `uname` == "Darwin" ]]; then popd fi elif [[ `uname` == "Linux" ]]; then - sudo apt-get install -y --force-yes binutils-mingw-w64-i686 gcc-mingw-w64-i686 g++-mingw-w64-i686 cmake + if [[ -z "$TRAVIS" ]]; then + sudo apt-get install -y binutils-mingw-w64-i686 gcc-mingw-w64-i686 g++-mingw-w64-i686 cmake + if [[ -z "$DISABLE_G2_BUILD" ]]; then + sudo apt-get install -y wine + fi + else + sudo apt-get install -y --force-yes binutils-mingw-w64-i686 gcc-mingw-w64-i686 g++-mingw-w64-i686 cmake + fi fi if [[ ! -f $cachedir/SDL2-devel-${SDL2_PV}-mingw.tar.gz ]]; then