From 265d309cb0a423b5dd6b43a8b7354b96a0f341a1 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Thu, 27 Oct 2016 15:10:09 +0200 Subject: [PATCH] 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 --- configure.pri | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")