summaryrefslogtreecommitdiff
path: root/builds/windows-32
diff options
context:
space:
mode:
Diffstat (limited to 'builds/windows-32')
-rwxr-xr-xbuilds/windows-328
1 files changed, 6 insertions, 2 deletions
diff --git a/builds/windows-32 b/builds/windows-32
index 7362609ab..2a4d60aa1 100755
--- a/builds/windows-32
+++ b/builds/windows-32
@@ -2,14 +2,18 @@
export MINGW_CXX="i686-w64-mingw32-g++"
export MINGW_WINDRES="i686-w64-mingw32-windres"
-export MINGW_PREFIX="/usr/i686-w64-mingw32"
+export MINGW_PREFIX="/home/carl/mingw/i686-w64-mingw32"
+export MINGW_PATH="/home/carl/mingw/bin"
export WINDOWS_PREFIX="/home/carl/Environments/windows/32"
export PKG_CONFIG_LIBDIR=$WINDOWS_PREFIX/lib/pkgconfig
./waf clean
-export PATH=$WINDOWS_PREFIX/bin:$PATH
+export PATH=$WINDOWS_PREFIX/bin:$MINGW_PATH:$PATH
+
+echo -n "USING COMPILER "
+which i686-w64-mingw32-g++
CXX=$MINGW_CXX WINRC=$MINGW_WINDRES \
CXXFLAGS="-I$WINDOWS_PREFIX/include -I$MINGW_PREFIX/include" \