Skip to content

Commit 4f890ba

Browse files
donaloconnorfanquake
authored andcommitted
Add new step to clean $PATH var by removing /mnt specific Window's %PATH% paths that cause issues with the make system
1 parent e542728 commit 4f890ba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/build-windows.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ To build executables for Windows 64-bit, install the following dependencies:
7272

7373
Then build using:
7474

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

8889
Then build using:
8990

91+
PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') # strip out problematic Windows %PATH% imported var
9092
cd depends
9193
make HOST=i686-w64-mingw32
9294
cd ..

0 commit comments

Comments
 (0)