summaryrefslogtreecommitdiff
path: root/builds/windows-64
diff options
context:
space:
mode:
Diffstat (limited to 'builds/windows-64')
-rwxr-xr-xbuilds/windows-6410
1 files changed, 7 insertions, 3 deletions
diff --git a/builds/windows-64 b/builds/windows-64
index a9fd56172..87206937e 100755
--- a/builds/windows-64
+++ b/builds/windows-64
@@ -2,14 +2,18 @@
export MINGW_CXX="x86_64-w64-mingw32-g++"
export MINGW_WINDRES="x86_64-w64-mingw32-windres"
-export MINGW_PREFIX="/usr/x86_64-w64-mingw32"
-export WINDOWS_PREFIX="/home/carl/Environments/windows-64"
+export MINGW_PREFIX="/mingw/x86_64-w64-mingw32"
+export MINGW_PATH="/mingw/bin"
+export WINDOWS_PREFIX="/home/carl/Environments/windows/64"
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 x86_64-w64-mingw32-g++
CXX=$MINGW_CXX WINRC=$MINGW_WINDRES \
CXXFLAGS="-I$WINDOWS_PREFIX/include -I$MINGW_PREFIX/include" \