Add new step to clean $PATH var by removing /mnt specific Window's %PATH% paths that cause issues with the make system

This commit is contained in:
Donal OConnor 2017-09-05 21:26:20 +01:00 committed by fanquake
parent e542728cde
commit 4f890ba6bc
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

View File

@ -72,6 +72,7 @@ To build executables for Windows 64-bit, install the following dependencies:
Then build using: Then build using:
PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') # strip out problematic Windows %PATH% imported var
cd depends cd depends
make HOST=x86_64-w64-mingw32 make HOST=x86_64-w64-mingw32
cd .. cd ..
@ -87,6 +88,7 @@ To build executables for Windows 32-bit, install the following dependencies:
Then build using: Then build using:
PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') # strip out problematic Windows %PATH% imported var
cd depends cd depends
make HOST=i686-w64-mingw32 make HOST=i686-w64-mingw32
cd .. cd ..