Skip to content

Commit

Permalink
Fix MinGW build on Appveyor by changing search path order
Browse files Browse the repository at this point in the history
C:\MinGW\bin should go first to prevent executables from older
version of MinGW in C:\MinGW\mingw32 being picked up.
  • Loading branch information
vitaut committed Jun 29, 2015
1 parent 7154238 commit 0332284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/appveyor-build.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
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.
Expand Down

0 comments on commit 0332284

Please sign in to comment.