From 86c1e689a17b1657ad20b58e999a2925001e100b Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Mon, 29 Jun 2009 15:01:55 +1000 Subject: Fixed configure.exe exiting with 0 exit code even if building host tools (moc, uic etc) fails. --- tools/configure/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/configure/main.cpp b/tools/configure/main.cpp index 4f379d7..0e13c7a 100644 --- a/tools/configure/main.cpp +++ b/tools/configure/main.cpp @@ -92,15 +92,15 @@ int runConfigure( int argc, char** argv ) app.generateHeaders(); if( !app.isDone() ) app.buildQmake(); - if( !app.isOk() ) - return 2; #endif if( !app.isDone() ) app.generateMakefiles(); - if( app.isOk() ) + if( !app.isDone() && app.isOk() ) app.buildHostTools(); if( !app.isDone() ) app.showSummary(); + if( !app.isOk() ) + return 2; return 0; } -- cgit v0.12