xcode: Set QMAKE_XCODE_LIBRARY_SUFFIX from default_post

Otherwise we won't pick up CONFIG+= changes on the command line or
from the project file.

Change-Id: I6f7e9380f971e6271de5659534e9565024fe041d
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
bb10
Tor Arne Vestbø 2013-10-25 17:00:10 +02:00 committed by The Qt Project
parent 054f357b69
commit 25650923b1
2 changed files with 3 additions and 2 deletions

View File

@ -27,6 +27,8 @@ isEmpty(_QMAKE_CACHE_) {
cache(QMAKE_XCODE_VERSION)
}
QMAKE_XCODE_LIBRARY_SUFFIX = $$qtPlatformTargetSuffix()
# Ensure that we process sdk.prf first, as it will update QMAKE_CXX
# and friends that other features/extra compilers may depend on.
sdk: load(sdk)

View File

@ -24,8 +24,7 @@ isEmpty(QMAKE_XCODE_VERSION) {
unset(xcode_version)
}
# These two variables are used by the xcode_dynamic_library_suffix
# This variable is used by the xcode_dynamic_library_suffix
# feature, which allows Xcode to choose the Qt libraries to link to
# at build time, depending on the current Xcode SDK and configuration.
QMAKE_XCODE_LIBRARY_SUFFIX = $$qtPlatformTargetSuffix()
QMAKE_XCODE_LIBRARY_SUFFIX_SETTING = QT_LIBRARY_SUFFIX