[oe-commits] Richard Purdie : cross: Update PKG_CONFIG variables after recent changes

git at git.openembedded.org git at git.openembedded.org
Thu May 1 15:35:18 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 0adcf80ca6a3c494bdad588d796ede9247d235cc
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=0adcf80ca6a3c494bdad588d796ede9247d235cc

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Thu May  1 15:41:12 2014 +0100

cross: Update PKG_CONFIG variables after recent changes

The PKG_CONFIG definitions should now more closely match those from native.bbclass.
We can't use ${libdir} here since it contains the target arch prefix.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/cross.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass
index a8f3b60..28fd211 100644
--- a/meta/classes/cross.bbclass
+++ b/meta/classes/cross.bbclass
@@ -21,8 +21,8 @@ STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_ARCH}${HOST_VENDOR}-${HOST_OS}"
 
 PACKAGE_ARCH = "${BUILD_ARCH}"
 
-export PKG_CONFIG_DIR = "${STAGING_DIR}/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}${libdir}/pkgconfig"
-export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR}/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}"
+export PKG_CONFIG_DIR = "${exec_prefix}/lib/pkgconfig"
+export PKG_CONFIG_SYSROOT_DIR = ""
 
 CPPFLAGS = "${BUILD_CPPFLAGS}"
 CFLAGS = "${BUILD_CFLAGS}"



More information about the Openembedded-commits mailing list