summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2010-06-04 09:32:40 (GMT)
committeraxis <qt-info@nokia.com>2010-06-04 10:06:43 (GMT)
commitcb59e56bc9f34c50dc4a2d01d2ea506c5d735225 (patch)
tree529eb4b8035490d1456320fd2489112a8d2c0b5b /mkspecs
parentbc11da163dc53860cf728b76dbb472bb2c9dadbf (diff)
downloadQt-cb59e56bc9f34c50dc4a2d01d2ea506c5d735225.zip
Qt-cb59e56bc9f34c50dc4a2d01d2ea506c5d735225.tar.gz
Qt-cb59e56bc9f34c50dc4a2d01d2ea506c5d735225.tar.bz2
Fixed def file usage for Qt plugins under the makefile build system.
Previously it would not use the autogenerated def files. RevBy: Thomas Zander
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/symbian/def_files.prf2
-rw-r--r--mkspecs/features/symbian/symbian_building.prf3
2 files changed, 4 insertions, 1 deletions
diff --git a/mkspecs/features/symbian/def_files.prf b/mkspecs/features/symbian/def_files.prf
index eb17402..6a95763 100644
--- a/mkspecs/features/symbian/def_files.prf
+++ b/mkspecs/features/symbian/def_files.prf
@@ -41,7 +41,7 @@ symbian-abld|symbian-sbsv2 {
}
}
-} else:contains(TEMPLATE, lib):!contains(CONFIG, static):!contains(CONFIG, staticlib) {
+} else:contains(TEMPLATE, lib):!contains(CONFIG, static):!contains(CONFIG, staticlib):!contains(CONFIG, plugin) {
!isEmpty(DEF_FILE) {
defFile = $$DEF_FILE
} else {
diff --git a/mkspecs/features/symbian/symbian_building.prf b/mkspecs/features/symbian/symbian_building.prf
index c230272..92988aa 100644
--- a/mkspecs/features/symbian/symbian_building.prf
+++ b/mkspecs/features/symbian/symbian_building.prf
@@ -96,6 +96,9 @@ contains(TEMPLATE, lib):!contains(CONFIG, static):!contains(CONFIG, staticlib) {
QMAKE_POST_LINK = $$replace(QMAKE_POST_LINK, "^@", "")
QMAKE_POST_LINK = && $$QMAKE_POST_LINK
}
+
+ contains(CONFIG, plugin):QMAKE_ELF2E32_FLAGS += --definput=plugin_commonu.def
+
# The tee and grep at the end work around the issue that elf2e32 doesn't return non-null on error.
# The comparison of dso files is to avoid extra building of modules that depend on this dso, in
# case it has not changed.