summaryrefslogtreecommitdiffstats
path: root/qmake/generators
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2010-03-09 09:02:49 (GMT)
committeraxis <qt-info@nokia.com>2010-03-09 09:04:26 (GMT)
commitaaf189b084f524c6e4230fddb25b8494364d83e9 (patch)
tree07be47ea9fb260a2f6a68c1e0f2549f42157f2c4 /qmake/generators
parent9a1b9728cc3a65da6646129c8422fa43ea2afed2 (diff)
downloadQt-aaf189b084f524c6e4230fddb25b8494364d83e9.zip
Qt-aaf189b084f524c6e4230fddb25b8494364d83e9.tar.gz
Qt-aaf189b084f524c6e4230fddb25b8494364d83e9.tar.bz2
Enabled dependencies for .dso and .lib libraries only.
This adds support for .lib files, as well as removes support for all others than .dso and .lib. This builds on the original commit bdff51768dfe.
Diffstat (limited to 'qmake/generators')
-rw-r--r--qmake/generators/unix/unixmake2.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/qmake/generators/unix/unixmake2.cpp b/qmake/generators/unix/unixmake2.cpp
index cff0138..b9e0ec8 100644
--- a/qmake/generators/unix/unixmake2.cpp
+++ b/qmake/generators/unix/unixmake2.cpp
@@ -178,8 +178,10 @@ UnixMakefileGenerator::writeMakeParts(QTextStream &t)
t << "export MACOSX_DEPLOYMENT_TARGET = " //exported to children processes
<< project->first("QMAKE_MACOSX_DEPLOYMENT_TARGET") << endl;
- if (!project->isEmpty("QMAKE_SYMBIAN_SHLIB"))
+ if (!project->isEmpty("QMAKE_SYMBIAN_SHLIB")) {
t << "vpath %.dso " << project->values("QMAKE_LIBDIR").join(":") << endl;
+ t << "vpath %.lib " << project->values("QMAKE_LIBDIR").join(":") << endl;
+ }
t << endl;