diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/configure/configureapp.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp index 5d64be4..73dc190 100644 --- a/tools/configure/configureapp.cpp +++ b/tools/configure/configureapp.cpp @@ -3247,10 +3247,13 @@ void Configure::generateCachefile() QTextStream configStream(&configFile); configStream << "CONFIG+= "; configStream << dictionary[ "BUILD" ]; - if (dictionary[ "SHARED" ] == "yes") + if (dictionary[ "SHARED" ] == "yes") { configStream << " shared"; - else + qtConfig << "shared"; + } else { configStream << " static"; + qtConfig << "static"; + } if (dictionary[ "LTCG" ] == "yes") configStream << " ltcg"; |