summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/symbian
diff options
context:
space:
mode:
authorThomas Zander <t.zander@nokia.com>2010-03-30 16:48:11 (GMT)
committerThomas Zander <t.zander@nokia.com>2010-03-30 16:57:47 (GMT)
commit3cb1aba46a1e2e5b1d71360c6a9bd160d73d8aec (patch)
tree4fc580cfad26efdafef7191824f70c37934b0b70 /mkspecs/features/symbian
parentfaff1c60a2a7f6ebef90249e759bdf822c8b17de (diff)
downloadQt-3cb1aba46a1e2e5b1d71360c6a9bd160d73d8aec.zip
Qt-3cb1aba46a1e2e5b1d71360c6a9bd160d73d8aec.tar.gz
Qt-3cb1aba46a1e2e5b1d71360c6a9bd160d73d8aec.tar.bz2
Fix qmake with the symbian makespec failing when project has a dash in it
Diffstat (limited to 'mkspecs/features/symbian')
-rw-r--r--mkspecs/features/symbian/symbian_building.prf4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkspecs/features/symbian/symbian_building.prf b/mkspecs/features/symbian/symbian_building.prf
index 9ccfd2f..ef03b0a 100644
--- a/mkspecs/features/symbian/symbian_building.prf
+++ b/mkspecs/features/symbian/symbian_building.prf
@@ -1,7 +1,7 @@
# we have some module specific options (defined in qt.prf) lets add them
-eval(TMPVAR = \$\$QMAKE_$${TARGET}_CXXFLAGS)
+!contains(TARGET, ".*[ -].*"):eval(TMPVAR = \$\$QMAKE_$${TARGET}_CXXFLAGS)
!isEmpty(TMPVAR):QMAKE_CXXFLAGS += $$TMPVAR
-eval(TMPVAR = \$\$QMAKE_$${TARGET}_LFLAGS)
+!contains(TARGET, ".*[ -].*"):eval(TMPVAR = \$\$QMAKE_$${TARGET}_LFLAGS)
!isEmpty(TMPVAR) {
QMAKE_LFLAGS += $$TMPVAR
} else :linux-gcce { # lets provide a simple default. Without elf2e32 complains