Fix mingw download URL

This commit is contained in:
Victor Zverovich 2015-02-17 09:16:50 -08:00
parent b4df6cb2fa
commit 88835f8468

View File

@ -11,10 +11,9 @@ build_command = ['msbuild', '/m:4', '/p:Config=' + os.environ['CONFIG'], 'FORMAT
test_command = ['msbuild', 'RUN_TESTS.vcxproj'] test_command = ['msbuild', 'RUN_TESTS.vcxproj']
if build == 'mingw': if build == 'mingw':
# Install MinGW. # Install MinGW.
mingw_url = 'http://sourceforge.net/projects/mingw-w64/files/' + \ mingw_url = 'http://downloads.sourceforge.net/project/mingw-w64/' + \
'Toolchains%20targetting%20Win64/Personal%20Builds/' + \ 'Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/' + \
'mingw-builds/4.9.2/threads-win32/seh/' + \ '4.9.2/threads-win32/seh/x86_64-4.9.2-release-win32-seh-rt_v3-rev1.7z'
'x86_64-4.9.2-release-win32-seh-rt_v3-rev1.7z/download'
with Downloader().download(mingw_url) as f: with Downloader().download(mingw_url) as f:
check_call(['7z', 'x', '-oC:\\', f]) check_call(['7z', 'x', '-oC:\\', f])