summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mkspecs/common/symbian/symbian.conf3
-rw-r--r--mkspecs/features/static.prf5
2 files changed, 7 insertions, 1 deletions
diff --git a/mkspecs/common/symbian/symbian.conf b/mkspecs/common/symbian/symbian.conf
index abc8a7a..b69e308 100644
--- a/mkspecs/common/symbian/symbian.conf
+++ b/mkspecs/common/symbian/symbian.conf
@@ -106,8 +106,9 @@ QMAKE_STRIPFLAGS_LIB += --strip-unneeded
load(qt_config)
load(platform_paths)
+MMP_RULES_DONT_EXPORT_ALL_CLASS_IMPEDIMENTA = "OPTION_REPLACE ARMCC --export_all_vtbl // don't use --export_all_vtbl"
MMP_RULES += PAGED
-MMP_RULES += "OPTION_REPLACE ARMCC --export_all_vtbl // don't use --export_all_vtbl"
+MMP_RULES += $$MMP_RULES_DONT_EXPORT_ALL_CLASS_IMPEDIMENTA
SYMBIAN_PLATFORMS = WINSCW GCCE ARMV5 ARMV6
# Legacy support requires some hardcoded stdapis paths.
diff --git a/mkspecs/features/static.prf b/mkspecs/features/static.prf
index 7ee7a8a..21a532e 100644
--- a/mkspecs/features/static.prf
+++ b/mkspecs/features/static.prf
@@ -12,4 +12,9 @@ mac {
CONFIG += hide_symbols
}
+symbian {
+ # we don't care about exports from static libraries, as they don't end up in DEF files
+ MMP_RULES -= $$MMP_RULES_DONT_EXPORT_ALL_CLASS_IMPEDIMENTA
+}
+
!static_and_shared:fix_output_dirs:fixExclusiveOutputDirs(static, shared)