unify default search paths between findLibraries() & processPrlFiles()

i see no reason why they should deviate

Change-Id: Iaa0445b79a95d348f51df74a74c7c89216c468ec
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
This commit is contained in:
Oswald Buddenhagen 2012-07-19 18:49:40 +02:00 committed by Qt by Nokia
parent c451a1087e
commit b9a41f9630

View File

@ -475,6 +475,8 @@ UnixMakefileGenerator::findLibraries()
if (libArg == "-L")
libArg.clear();
QList<QMakeLocalFileName> libdirs;
foreach (const QString &dlib, project->values("QMAKE_DEFAULT_LIBDIRS"))
libdirs.append(QMakeLocalFileName(dlib));
const QString lflags[] = { "QMAKE_LIBS", "QMAKE_LIBS_PRIVATE", QString() };
for(int i = 0; !lflags[i].isNull(); i++) {
QStringList &l = project->values(lflags[i]);