diff options
author | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2016-10-27 15:10:09 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2016-11-01 07:56:33 +0000 |
commit | 265d309cb0a423b5dd6b43a8b7354b96a0f341a1 (patch) | |
tree | cbc2a270fbb5cf485330626e0d75bc4460a0d069 /configure.pri | |
parent | a732576a66ff2bbd9c0b41cd5f3505a4d2fbf043 (diff) |
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>
Diffstat (limited to 'configure.pri')
-rw-r--r-- | configure.pri | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.pri b/configure.pri index b69dbf3709..cdc13ff87c 100644 --- a/configure.pri +++ b/configure.pri @@ -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") |