summaryrefslogtreecommitdiffstats
path: root/mkspecs
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 /mkspecs
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 'mkspecs')
-rw-r--r--mkspecs/symbian/features/symbian_building.prf3
1 files changed, 1 insertions, 2 deletions
diff --git a/mkspecs/symbian/features/symbian_building.prf b/mkspecs/symbian/features/symbian_building.prf
index a7663af..f1907c2 100644
--- a/mkspecs/symbian/features/symbian_building.prf
+++ b/mkspecs/symbian/features/symbian_building.prf
@@ -31,6 +31,7 @@ defineReplace(processSymbianLibraries) {
} else {
newLIB = "$${library}"
}
+ contains(library, "\.dso$")|contains(library, ".lib$"):PRE_TARGETDEPS += $$library
return($$newLIB)
}
@@ -38,13 +39,11 @@ for(libraries, LIBS) {
newLIBS += $$processSymbianLibraries($$libraries)
}
LIBS = $$newLIBS
-PRE_TARGETDEPS += $$replace(newLIBS, "-l", "")
newLIBS =
for(libraries, QMAKE_LIBS) {
newLIBS += $$processSymbianLibraries($$libraries)
}
QMAKE_LIBS = $$newLIBS
-PRE_TARGETDEPS += $$replace(newLIBS, "-l", "")
linux-gcce {
QMAKE_LIBS += -l:usrt2_2.lib \