don't ignore create_prl for static plugins
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Wed, 20 Apr 2011 17:47:49 +0000 (19:47 +0200)
committerOlivier Goffart <olivier.goffart@nokia.com>
Wed, 11 May 2011 14:39:47 +0000 (16:39 +0200)
Task-number: QTBUG-18436
Reviewed-by: joerg
(cherry picked from commit 2ca4ce848c63c9fa0a48c0f9f4e7fdbc90463bf1)

qmake/generators/makefile.cpp

index 69dffba..ace3531 100644 (file)
@@ -1109,7 +1109,7 @@ MakefileGenerator::writePrlFile()
        && project->isActiveConfig("create_prl")
        && (project->first("TEMPLATE") == "lib"
        || project->first("TEMPLATE") == "vclib")
        && project->isActiveConfig("create_prl")
        && (project->first("TEMPLATE") == "lib"
        || project->first("TEMPLATE") == "vclib")
-       && !project->isActiveConfig("plugin")) { //write prl file
+       && (!project->isActiveConfig("plugin") || project->isActiveConfig("static"))) { //write prl file
         QString local_prl = prlFileName();
         QString prl = fileFixify(local_prl);
         mkdir(fileInfo(local_prl).path());
         QString local_prl = prlFileName();
         QString prl = fileFixify(local_prl);
         mkdir(fileInfo(local_prl).path());