diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2012-07-03 16:49:53 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-05 21:10:40 +0200 |
commit | 2b4ae9651fd8b6190025dfee3a64a3b93a67c8aa (patch) | |
tree | 97484296f01ccfa81cc7e01f8fe94054fbfd6fd4 /qmake/generators/win32 | |
parent | c54ba8c2520243217e2901fa4379f50ccde0be96 (diff) |
don't use a different de-duplication algo for the library list in mingw prl files
i have no idea why that was done (the commit message says "not sure why
it works elsewhere"), but it makes no sense whatsoever, specifically
doing it only on mingw. probably some workaround, as usual. the
de-duplication is broken by design anyway.
This reverts commit 7a6302c2baf6861fdaf65992b71a7676859860c2.
Change-Id: I6edecaa062570e59eccd24d50919ba132e65a403
Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
Diffstat (limited to 'qmake/generators/win32')
-rw-r--r-- | qmake/generators/win32/mingw_make.cpp | 16 | ||||
-rw-r--r-- | qmake/generators/win32/mingw_make.h | 1 |
2 files changed, 0 insertions, 17 deletions
diff --git a/qmake/generators/win32/mingw_make.cpp b/qmake/generators/win32/mingw_make.cpp index e7dbc6a274..bbb9dc2bac 100644 --- a/qmake/generators/win32/mingw_make.cpp +++ b/qmake/generators/win32/mingw_make.cpp @@ -462,22 +462,6 @@ void MingwMakefileGenerator::writeRcFilePart(QTextStream &t) } } -void MingwMakefileGenerator::processPrlVariable(const QString &var, const QStringList &l) -{ - if (var == "QMAKE_PRL_LIBS") { - QString where = "QMAKE_LIBS"; - if (!project->isEmpty("QMAKE_INTERNAL_PRL_LIBS")) - where = project->first("QMAKE_INTERNAL_PRL_LIBS"); - QStringList &out = project->values(where); - for (QStringList::ConstIterator it = l.begin(); it != l.end(); ++it) { - out.removeAll((*it)); - out.append((*it)); - } - } else { - Win32MakefileGenerator::processPrlVariable(var, l); - } -} - QStringList &MingwMakefileGenerator::findDependencies(const QString &file) { QStringList &aList = MakefileGenerator::findDependencies(file); diff --git a/qmake/generators/win32/mingw_make.h b/qmake/generators/win32/mingw_make.h index 88832dde76..ac65bbb4a9 100644 --- a/qmake/generators/win32/mingw_make.h +++ b/qmake/generators/win32/mingw_make.h @@ -64,7 +64,6 @@ private: void writeObjectsPart(QTextStream &t); void writeBuildRulesPart(QTextStream &t); void writeRcFilePart(QTextStream &t); - void processPrlVariable(const QString &var, const QStringList &l); QStringList &findDependencies(const QString &file); |