fix configure PSQL_*= being ignored

make qtConfLibrary_psqlEnv() fall back to qtConfLibrary_inline() if
$PSQL_LIBS is not set.

Task-number: QTBUG-59521
Change-Id: Ie293e8bfaa3e113ede166243b345833973cc66f8
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Oswald Buddenhagen 2017-05-16 19:40:21 +02:00
parent 5afde92bd7
commit 09e2fc43ab
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,9 @@ defineTest(qtConfLibrary_psqlEnv) {
!isEmpty(PSQL_LIBS) {
$${1}.libs = $$PSQL_LIBS
export($${1}.libs)
} else {
!qtConfLibrary_inline($$1): \
return(false)
}
return(true)
}