From fe02f62524515b80edd9b18609fe7e5b1fb7eb2b Mon Sep 17 00:00:00 2001
From: Rolland Dudemaine <rolland@ghs.com>
Date: Tue, 15 Nov 2011 17:28:18 +0100
Subject: Use "dll" instead of "shared".

For DLLs (which are not supported, but may be soon), use
the CONFIG variable "dll" instead of the "shared" template,
because some testcases actually use shared even when
compiled statically.

Merge-request: 1438
Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
---
 qmake/generators/integrity/gbuild.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qmake/generators/integrity/gbuild.cpp b/qmake/generators/integrity/gbuild.cpp
index f6499eb..081b441 100644
--- a/qmake/generators/integrity/gbuild.cpp
+++ b/qmake/generators/integrity/gbuild.cpp
@@ -153,7 +153,7 @@ GBuildMakefileGenerator::writeMakefile(QTextStream &text)
         Option::output.setFileName(filename);
         MakefileGenerator::openOutput(Option::output, QString());
     } else if ((project->first("TEMPLATE") == "lib")
-            && project->isActiveConfig("shared")) {
+            && project->isActiveConfig("dll")) {
         QString gpjname(strtarget);
         gpjname += "_shared";
         gpjname += projectSuffix();
-- 
cgit v0.12