mkspecs/features/symbian/def_files_disabled.prf
branchRCL_3
changeset 8 3f74d0d4af4c
parent 6 dee5afe5301f
--- a/mkspecs/features/symbian/def_files_disabled.prf	Mon Mar 15 12:43:09 2010 +0200
+++ b/mkspecs/features/symbian/def_files_disabled.prf	Thu Apr 08 14:19:33 2010 +0300
@@ -2,6 +2,12 @@
 
 CONFIG -= def_files
 
-# with EXPORTUNFROZEN enabled, new exports are included in the dll without
-# needing to run abld/sbs freeze
-MMP_RULES += EXPORTUNFROZEN
+# See def_files.prf for reasoning on the slight nastiness of this
+!contains(MMP_RULES, defBlock) {
+    # See def_files.prf for reasoning for excluding target types and configs below
+    !contains(TEMPLATE, app):!contains(CONFIG, plugin):!contains(CONFIG, staticlib): {
+        # with EXPORTUNFROZEN enabled, new exports are included in the dll and dso/lib without
+        # needing to run abld/sbs freeze
+        MMP_RULES += EXPORTUNFROZEN
+    }
+}