diff -r e24348a560a6 -r b72c6db6890b mkspecs/features/symbian/def_files.prf --- 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 + } } - + } }