exportLDFLAGS="-static-libgcc -static-libstdc++ -no-pthread -Wl,--allow-multiple-definition"# workaround some other mingw bugs
exportLDFLAGS="-static-libgcc -static-libstdc++ -no-pthread -Wl,--allow-multiple-definition"# workaround some other mingw bugs
exportWINRC="i686-w64-mingw32-windres"
exportWINRC="i686-w64-mingw32-windres"
rm -rf build # clean build directory
rm -rf build # clean build directory
./waf configure -s "SDL2_mingw/i686-w64-mingw32/" --build-type=none --prefix="." --win-style-install -v || die # can't compile VGUI support on MinGW, due to differnet C++ ABI
./waf configure -s "SDL2_mingw/i686-w64-mingw32/" --build-type=none --prefix="." --win-style-install -v --enable-utils || die # can't compile VGUI support on MinGW, due to differnet C++ ABI