mkspecs/features/symbian/def_files.prf
changeset 29 b72c6db6890b
parent 19 fcece45ef507
child 30 5dc02b23752f
--- a/mkspecs/features/symbian/def_files.prf	Fri Jun 11 14:24:45 2010 +0300
+++ b/mkspecs/features/symbian/def_files.prf	Wed Jun 23 19:07:03 2010 +0300
@@ -19,10 +19,21 @@
             "$${LITERAL_HASH}elif defined EABI" \
             "DEFFILE $$defFilePath/eabi/$${TARGET}.def" \
             "$${LITERAL_HASH}endif"
-            
             MMP_RULES += defBlock
+        } else {
+            # If defFilePath is not defined, then put the folders containing the DEF files at the
+            # same level as the .pro (and generated MMP) file(s)
+            exists("$$_PRO_FILE_PWD_/eabi") {
+               defBlock = \
+               "$${LITERAL_HASH}ifdef WINSCW" \
+               "DEFFILE ./bwins/$${TARGET}.def" \
+               "$${LITERAL_HASH}elif defined EABI" \
+               "DEFFILE ./eabi/$${TARGET}.def" \
+               "$${LITERAL_HASH}endif"
+               MMP_RULES += defBlock
+            }
         }
-        
+       
     }
 }