summaryrefslogtreecommitdiffstats
path: root/qmake/generators/win32/mingw_make.cpp
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2011-01-07 06:53:13 (GMT)
committeraxis <qt-info@nokia.com>2011-01-28 12:25:02 (GMT)
commitb93fc7fabd289c99124bf68898605591d6d9b283 (patch)
tree2661ec6df72ce1b306b87bcce76bfa5bf0ba38bd /qmake/generators/win32/mingw_make.cpp
parent0ec421b76066b6016c98a8d2f589db5516bb1a93 (diff)
downloadQt-b93fc7fabd289c99124bf68898605591d6d9b283.zip
Qt-b93fc7fabd289c99124bf68898605591d6d9b283.tar.gz
Qt-b93fc7fabd289c99124bf68898605591d6d9b283.tar.bz2
Avoided some MinGW specific codepaths when building Symbian libs.
RevBy: Trust me
Diffstat (limited to 'qmake/generators/win32/mingw_make.cpp')
-rw-r--r--qmake/generators/win32/mingw_make.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qmake/generators/win32/mingw_make.cpp b/qmake/generators/win32/mingw_make.cpp
index 7099422..8450eaf 100644
--- a/qmake/generators/win32/mingw_make.cpp
+++ b/qmake/generators/win32/mingw_make.cpp
@@ -290,7 +290,7 @@ void MingwMakefileGenerator::init()
if(configs.indexOf("qt") == -1)
configs.append("qt");
- if(project->isActiveConfig("dll")) {
+ if(project->isActiveConfig("dll") && project->values("QMAKE_SYMBIAN_SHLIB").isEmpty()) {
QString destDir = "";
if(!project->first("DESTDIR").isEmpty())
destDir = Option::fixPathToTargetOS(project->first("DESTDIR") + Option::dir_sep, false, false);
@@ -299,7 +299,7 @@ void MingwMakefileGenerator::init()
project->values("QMAKE_LFLAGS").append(QString("-Wl,--out-implib,") + project->first("MINGW_IMPORT_LIB"));
}
- if(!project->values("DEF_FILE").isEmpty())
+ if(!project->values("DEF_FILE").isEmpty() && project->values("QMAKE_SYMBIAN_SHLIB").isEmpty())
project->values("QMAKE_LFLAGS").append(QString("-Wl,") + project->first("DEF_FILE"));
MakefileGenerator::init();