Various build fixes.
[mingw-build.git] / build_mingw_runtime.sh
1 #!/bin/bash
2
3 mkdir -p mingw-runtime-build-$MINGW_TARGET
4 cd mingw-runtime-build-$MINGW_TARGET
5 PATH=$PATH:$MINGW_PREFIX/bin ../mingw-w64-v2.0.7/mingw-w64-crt/configure --prefix=$MINGW_PREFIX --with-sysroot=$MINGW_PREFIX --host=$MINGW_TARGET
6 PATH=$PATH:$MINGW_PREFIX/bin make $MINGW_PARALLEL
7 sudo PATH=$PATH:$MINGW_PREFIX/bin make install