diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2010-06-10 08:39:31 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2010-06-10 09:47:00 (GMT) |
commit | 3c486f8329ff0284c76e40460613023bf3e2d1fa (patch) | |
tree | f582530daa821001fbc6e10c66efe686a49274a3 /mkspecs | |
parent | 492e80c034a16c6fed1a739afda50b7138953209 (diff) | |
download | Qt-3c486f8329ff0284c76e40460613023bf3e2d1fa.zip Qt-3c486f8329ff0284c76e40460613023bf3e2d1fa.tar.gz Qt-3c486f8329ff0284c76e40460613023bf3e2d1fa.tar.bz2 |
Explicit EXPORTUNFROZEN will prevent default defBlock generation
If MMP_RULES contains EXPORTUNFROZEN, no DEFFILE statements should
be generated to mmp files.
Reviewed-by: Janne Koskinen
Diffstat (limited to 'mkspecs')
-rw-r--r-- | mkspecs/features/symbian/def_files.prf | 3 | ||||
-rw-r--r-- | mkspecs/features/symbian/def_files_disabled.prf | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/mkspecs/features/symbian/def_files.prf b/mkspecs/features/symbian/def_files.prf index 6a95763..1b8e551 100644 --- a/mkspecs/features/symbian/def_files.prf +++ b/mkspecs/features/symbian/def_files.prf @@ -7,7 +7,8 @@ symbian-abld|symbian-sbsv2 { # Firstly, if the MMP_RULES already contain a defBlock variable, don't generate another one # (this bit is slightly magic, because it depends upon everyone creating their DEFFILE statements # in a defBlock variable; but otherwise we have to expand MMP_RULES then scan for the DEFFILE keyword) - !contains(MMP_RULES, defBlock) { + # Similarly, explicit EXPORTUNFROZEN should block adding defBlock + !contains(MMP_RULES, defBlock):!contains(MMP_RULES, EXPORTUNFROZEN) { # Apps are executables on Symbian, so don't have exports, and therefore don't have DEF files # Plugins use standard DEF files, which qmake generates, so shouldn't be using these DEFFILE # statements - they use the qmake generated statements instead diff --git a/mkspecs/features/symbian/def_files_disabled.prf b/mkspecs/features/symbian/def_files_disabled.prf index 557c5e3..0344911 100644 --- a/mkspecs/features/symbian/def_files_disabled.prf +++ b/mkspecs/features/symbian/def_files_disabled.prf @@ -8,6 +8,6 @@ CONFIG -= def_files !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 + MMP_RULES *= EXPORTUNFROZEN } } |