From b9a41f963057e91631e459a86fbf3d34a8080b40 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Thu, 19 Jul 2012 18:49:40 +0200 Subject: unify default search paths between findLibraries() & processPrlFiles() i see no reason why they should deviate Change-Id: Iaa0445b79a95d348f51df74a74c7c89216c468ec Reviewed-by: Friedemann Kleint Reviewed-by: Joerg Bornemann --- qmake/generators/unix/unixmake.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qmake') diff --git a/qmake/generators/unix/unixmake.cpp b/qmake/generators/unix/unixmake.cpp index e24b523187..22a763df59 100644 --- a/qmake/generators/unix/unixmake.cpp +++ b/qmake/generators/unix/unixmake.cpp @@ -475,6 +475,8 @@ UnixMakefileGenerator::findLibraries() if (libArg == "-L") libArg.clear(); QList 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]); -- cgit v1.2.3