summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/link_pkgconfig.prf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/features/link_pkgconfig.prf')
-rw-r--r--mkspecs/features/link_pkgconfig.prf3
1 files changed, 1 insertions, 2 deletions
diff --git a/mkspecs/features/link_pkgconfig.prf b/mkspecs/features/link_pkgconfig.prf
index 91683f6392..20b3e10550 100644
--- a/mkspecs/features/link_pkgconfig.prf
+++ b/mkspecs/features/link_pkgconfig.prf
@@ -1,5 +1,4 @@
-# handle pkg-config files
-isEmpty(PKG_CONFIG):PKG_CONFIG = pkg-config # keep consistent with qt_functions.prf too!
+PKG_CONFIG = $$pkgConfigExecutable()
for(PKGCONFIG_LIB, $$list($$unique(PKGCONFIG))) {
# don't proceed if the .pro asks for a package we don't have!