MinGW in appveyor path

This commit is contained in:
Linus Probert 2017-12-20 20:11:39 +01:00
parent 9ede61544f
commit d4fa8b9765
1 changed files with 1 additions and 7 deletions

View File

@ -7,7 +7,6 @@ cache:
before_build:
- |-
set PREFIX=C:\usr
set MINGW32=C:\freshmingw
set ARCH=i686-w64-mingw32
# depends are only fetched where there's no cache
@ -45,14 +44,9 @@ before_build:
%DEPENDS% copy SDL2_ttf-2.0.14\%ARCH%\lib\*.a %PREFIX%\lib > nul
%DEPENDS% copy SDL2_ttf-2.0.14\%ARCH%\bin\*.dll %PREFIX%\lib > nul
# Newer mingw is required, as older mingw32 does not support std::thread
#- |-
#%DEPENDS% appveyor DownloadFile "http://sourceforge.net/projects/mingw-w64/files/Toolchains targetting Win32/Personal Builds/mingw-builds/4.9.3/threads-posix/dwarf/i686-4.9.3-release-posix-dwarf-rt_v4-rev1.7z/download"
#%DEPENDS% 7z x download -o%MINGW32% > nul
build_script:
- |-
set Path=%MINGW32%\mingw32\bin;%Path%
set Path=C:\MinGW\bin;%Path%
cd %APPVEYOR_BUILD_FOLDER%
del "C:\Program Files\Git\usr\bin\sh.exe"