summaryrefslogtreecommitdiff
path: root/mkspecs
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2011-04-12 15:23:33 +0300
committerOlivier Goffart <olivier.goffart@nokia.com>2011-05-10 12:54:45 +0200
commitb2c43d5a849876a7b86843845c5efcc67249a950 (patch)
treefbf21827addb42504dd5868d72cd26235bc2fe03 /mkspecs
parent11140fc40a501cf5e4b2028643b31b69898dafd2 (diff)
downloadqtbase-b2c43d5a849876a7b86843845c5efcc67249a950.tar.gz
Fix "make sis" for projects that have empty OBJECTS_DIR
Temp directory for packagaging got created to system root if OBJECTS_DIR was empty. Fixed it to use '.' instead in those cases. Reviewed-by: Janne Koskinen (cherry picked from commit 930db5826ff2c02d54f2851494000c5fab97da54)
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/symbian/sis_targets.prf6
1 files changed, 5 insertions, 1 deletions
diff --git a/mkspecs/features/symbian/sis_targets.prf b/mkspecs/features/symbian/sis_targets.prf
index d0fe881003..f3452b7091 100644
--- a/mkspecs/features/symbian/sis_targets.prf
+++ b/mkspecs/features/symbian/sis_targets.prf
@@ -26,7 +26,11 @@ equals(GENERATE_SIS_TARGETS, true) {
qtPrepareTool(QMAKE_CREATEPACKAGE, createpackage)
- CREATEPACKAGE_DIR = $$OBJECTS_DIR/createpackage_tmp
+ sis_objects_dir = $$OBJECTS_DIR
+ isEmpty(sis_objects_dir):sis_objects_dir = .
+
+ CREATEPACKAGE_DIR = $$sis_objects_dir/createpackage_tmp
+
QMAKE_CLEAN += $$CREATEPACKAGE_DIR/*
symbian-abld|symbian-sbsv2 {