diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-24 23:37:16 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-24 23:37:16 +0100 |
| commit | 240bed409d133f80f5830898033ff9377b5c408f (patch) | |
| tree | 596afec8daba8b13160942f49bad91461ba1e0b5 | |
| parent | 6acc7a2579c7842d8031aee29fb5fa1e015747fa (diff) | |
Tidy up.
| -rwxr-xr-x | rebuild-windows | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/rebuild-windows b/rebuild-windows index 3424d7451..60b4f29ff 100755 --- a/rebuild-windows +++ b/rebuild-windows @@ -8,12 +8,21 @@ export WINDOWS_PREFIX="/home/carl/src/windows" export PKG_CONFIG_LIBDIR=$WINDOWS_PREFIX/lib/pkgconfig ./waf clean + export PATH=$WINDOWS_PREFIX/bin:$PATH + CXX=$MINGW_CXX WINRC=$MINGW_WINDRES \ CXXFLAGS="-I$WINDOWS_PREFIX/include -I$MINGW_PREFIX/include" \ LINKFLAGS="-L$WINDOWS_PREFIX/lib -L$MINGW_PREFIX/lib" \ ./waf configure --target-windows +if [ "$?" != "0" ]; then + exit 1 +fi + ./waf +if [ "$?" != "0" ]; then + exit 1 +fi d=`pwd` |
