mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-26 03:35:22 +00:00
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.
This commit is contained in:
parent
7154238d45
commit
0332284ce3
@ -14,7 +14,7 @@ if build == 'mingw':
|
|||||||
test_command = ['mingw32-make', 'test']
|
test_command = ['mingw32-make', 'test']
|
||||||
# Remove the path to Git bin directory from $PATH because it breaks MinGW config.
|
# Remove the path to Git bin directory from $PATH because it breaks MinGW config.
|
||||||
path = path.replace(r'C:\Program Files (x86)\Git\bin', '')
|
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:
|
else:
|
||||||
# Add MSBuild 14.0 to PATH as described in
|
# Add MSBuild 14.0 to PATH as described in
|
||||||
# http://help.appveyor.com/discussions/problems/2229-v140-not-found-on-vs2105rc.
|
# http://help.appveyor.com/discussions/problems/2229-v140-not-found-on-vs2105rc.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user