configure: fix usage of pkg-config from qmakespec
the spec (possibly) provides QMAKE_PKG_CONFIG. PKG_CONFIG is dynamically determined on use. Change-Id: I45b7f4eddeff5d28539021472ef9036dd397d61e Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
a732576a66
commit
265d309cb0
@ -124,7 +124,7 @@ defineTest(qtConfTest_detectPkgConfig) {
|
|||||||
!isEmpty(pkgConfig): {
|
!isEmpty(pkgConfig): {
|
||||||
qtLog("Found pkg-config from environment variable: $$pkgConfig")
|
qtLog("Found pkg-config from environment variable: $$pkgConfig")
|
||||||
} else {
|
} else {
|
||||||
pkgConfig = $$PKG_CONFIG
|
pkgConfig = $$QMAKE_PKG_CONFIG
|
||||||
|
|
||||||
!isEmpty(pkgConfig) {
|
!isEmpty(pkgConfig) {
|
||||||
qtLog("Found pkg-config from mkspec: $$pkgConfig")
|
qtLog("Found pkg-config from mkspec: $$pkgConfig")
|
||||||
|
Loading…
Reference in New Issue
Block a user