Fix the name of _debug libraries on APPLE.
authorStephen Kelly <stephen.kelly@kdab.com>
Tue, 10 Jul 2012 16:05:13 +0000 (18:05 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 11 Jul 2012 00:47:10 +0000 (02:47 +0200)
Change-Id: Id3ae730c0ce0630f8ccc222fe09e5d3da23d124d
Reviewed-by: Clinton Stimpson <clinton@elemtech.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
mkspecs/features/create_cmake.prf

index d373157..e351422 100644 (file)
@@ -67,10 +67,10 @@ macx {
         CMAKE_BUILD_IS_FRAMEWORK = "true"
     } else {
         !isEmpty(CMAKE_STATIC_TYPE) {
-            CMAKE_LIB_FILE_LOCATION_DEBUG = libQt$${CMAKE_MODULE_NAME}$${QT_LIBINFIX}.a
+            CMAKE_LIB_FILE_LOCATION_DEBUG = libQt$${CMAKE_MODULE_NAME}$${QT_LIBINFIX}_debug.a
             CMAKE_LIB_FILE_LOCATION_RELEASE = libQt$${CMAKE_MODULE_NAME}$${QT_LIBINFIX}.a
         } else {
-            CMAKE_LIB_FILE_LOCATION_DEBUG = libQt$${CMAKE_MODULE_NAME}$${QT_LIBINFIX}.$$eval(QT.$${MODULE}.VERSION).dylib
+            CMAKE_LIB_FILE_LOCATION_DEBUG = libQt$${CMAKE_MODULE_NAME}$${QT_LIBINFIX}_debug.$$eval(QT.$${MODULE}.VERSION).dylib
             CMAKE_LIB_FILE_LOCATION_RELEASE = libQt$${CMAKE_MODULE_NAME}$${QT_LIBINFIX}.$$eval(QT.$${MODULE}.VERSION).dylib
         }
     }