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>bb10
parent
a732576a66
commit
265d309cb0
|
|
@ -124,7 +124,7 @@ defineTest(qtConfTest_detectPkgConfig) {
|
|||
!isEmpty(pkgConfig): {
|
||||
qtLog("Found pkg-config from environment variable: $$pkgConfig")
|
||||
} else {
|
||||
pkgConfig = $$PKG_CONFIG
|
||||
pkgConfig = $$QMAKE_PKG_CONFIG
|
||||
|
||||
!isEmpty(pkgConfig) {
|
||||
qtLog("Found pkg-config from mkspec: $$pkgConfig")
|
||||
|
|
|
|||
Loading…
Reference in New Issue