From 0332284ce3ef43af7d3010688514f457ffaac774 Mon Sep 17 00:00:00 2001 From: vitaut Date: Mon, 29 Jun 2015 07:22:45 -0700 Subject: [PATCH] Fix MinGW build on Appveyor by changing search path order C:\MinGW\bin should go first to prevent executables from older version of MinGW in C:\MinGW\mingw32 being picked up. --- support/appveyor-build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/appveyor-build.py b/support/appveyor-build.py index b995918b..9f4e30ce 100755 --- a/support/appveyor-build.py +++ b/support/appveyor-build.py @@ -14,7 +14,7 @@ if build == 'mingw': test_command = ['mingw32-make', 'test'] # Remove the path to Git bin directory from $PATH because it breaks MinGW config. path = path.replace(r'C:\Program Files (x86)\Git\bin', '') - os.environ['PATH'] = path + r';C:\MinGW\bin' + os.environ['PATH'] = r'C:\MinGW\bin;' + path else: # Add MSBuild 14.0 to PATH as described in # http://help.appveyor.com/discussions/problems/2229-v140-not-found-on-vs2105rc.