summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-11-27 15:14:58 (GMT)
committeraxis <qt-info@nokia.com>2009-12-11 10:27:39 (GMT)
commit952952bea94a3eb7374c94d29736c3d6e233b71e (patch)
treec236cb83ff50ffb3051d0423b644f25afdbc132f /mkspecs
parentf722cae67b412404d253b5794f638c271fb1eea8 (diff)
downloadQt-952952bea94a3eb7374c94d29736c3d6e233b71e.zip
Qt-952952bea94a3eb7374c94d29736c3d6e233b71e.tar.gz
Qt-952952bea94a3eb7374c94d29736c3d6e233b71e.tar.bz2
Fixed a bug in the LIBS mangling on Symbian.
Previously, if one entry appeared more than once it would receive several extensions.
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/symbian/linux-armcc/features/qt.prf11
1 files changed, 9 insertions, 2 deletions
diff --git a/mkspecs/symbian/linux-armcc/features/qt.prf b/mkspecs/symbian/linux-armcc/features/qt.prf
index efe7fbd..ec7cbe0 100644
--- a/mkspecs/symbian/linux-armcc/features/qt.prf
+++ b/mkspecs/symbian/linux-armcc/features/qt.prf
@@ -7,15 +7,22 @@ isEmpty(DESTDIR) {
for(libraries, LIBS) {
isFullName = $$find(libraries, \.)
isEmpty(isFullName) {
- LIBS = $$replace(LIBS, "$$libraries", "$${libraries}.dso")
+ newLIBS += "$${libraries}.dso"
+ } else {
+ newLIBS += "$${libraries}"
}
}
+LIBS = $$newLIBS
+newLIBS =
for(libraries, QMAKE_LIBS) {
isFullName = $$find(libraries, \.)
isEmpty(isFullName) {
- QMAKE_LIBS = $$replace(QMAKE_LIBS, "$$libraries", "$${libraries}.dso")
+ newLIBS += "$${libraries}.dso"
+ } else {
+ newLIBS += "$${libraries}"
}
}
+QMAKE_LIBS = $$newLIBS
# This needs to be done after the above LIBS mangling.
include(../platformlibs.conf)