From 4f890ba6bc8caba5394c7a5388d7f07959ced78b Mon Sep 17 00:00:00 2001
From: Donal OConnor <donaloconnor@gmail.com>
Date: Tue, 5 Sep 2017 21:26:20 +0100
Subject: [PATCH] Add new step to clean $PATH var by removing /mnt specific
 Window's %PATH% paths that cause issues with the make system

---
 doc/build-windows.md | 2 ++
 1 file changed, 2 insertions(+)

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