qmake: Don't _debug
-suffix libraries in single config framework builds
On Apple platforms we no longer _debug suffix libraries (and plugins) in single config framework builds. This is a follow-up for logic in qmake that didn't get adjusted in d3be87ff1d558f05309b1f29f7e71f291498584f. Pick-to: 6.8 Change-Id: I6461fca9da5c3ac1382ffc46e63409ef0150ad46 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
f7853680ef
commit
20d89a2710
@ -19,8 +19,13 @@ defineReplace(qtPlatformTargetSuffix) {
|
||||
}
|
||||
darwin {
|
||||
contains($$config_variable, debug, debug|release) {
|
||||
!debug_and_release|build_pass: \
|
||||
return($${suffix}_debug)
|
||||
debug_and_release {
|
||||
build_pass: \
|
||||
return($${suffix}_debug)
|
||||
} else {
|
||||
!qtConfig(framework): \
|
||||
return($${suffix}_debug)
|
||||
}
|
||||
}
|
||||
}
|
||||
return($$suffix)
|
||||
|
@ -45,7 +45,7 @@ CONFIG(debug, debug|release) {
|
||||
equals(build, debug): \
|
||||
suffix = _debug
|
||||
} else {
|
||||
contains(QT_CONFIG, debug): \
|
||||
!qtConfig(framework):contains(QT_CONFIG, debug): \
|
||||
suffix = _debug
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user