diff options
author | Harald Fernengel <harald.fernengel@nokia.com> | 2011-10-19 15:36:33 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-19 22:27:09 +0200 |
commit | a0d1b996093cbf4e2b59885004a1cb57d743757b (patch) | |
tree | 29de2c770c7e750fa3a600c3861a5ee0d133586c /mkspecs/features/link_pkgconfig.prf | |
parent | 7dc5973bf12919d2d35230844beabe558d4faa00 (diff) |
Make pkg-config cross-compile aware
Introduce PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_LIBDIR for
cross-compilation environments
Change-Id: I859d55f125b18d6bdef0f1dfaeb43721b85d22f5
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'mkspecs/features/link_pkgconfig.prf')
-rw-r--r-- | mkspecs/features/link_pkgconfig.prf | 3 |
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! |