configure: fix detection of icu in static build
don't complain about library inline sources which have 'builds' but no 'libs'. Task-number: QTBUG-62150 Change-Id: Ib215d438fc02ebdafde95f31cd48088b1bafc663 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
ad70f2ed20
commit
4e5af88a8c
@ -492,8 +492,8 @@ defineTest(qtConfSetupLibraries) {
|
||||
# overrides from the command line are accepted.
|
||||
defineTest(qtConfLibrary_inline) {
|
||||
lib = $$eval($${1}.library)
|
||||
!defined($${1}.libs, var): \
|
||||
error("'inline' source in library '$$lib' does not specify 'libs'.")
|
||||
!defined($${1}.libs, var):isEmpty($${1}.builds._KEYS_): \
|
||||
error("'inline' source in library '$$lib' specifies neither 'libs' nor 'builds'.")
|
||||
|
||||
# if multiple libraries provide the same export, it makes sense
|
||||
# to make them recognize the same input variables.
|
||||
|
Loading…
x
Reference in New Issue
Block a user