From: Richard Purdie Date: Thu, 1 May 2014 14:41:12 +0000 (+0100) Subject: cross: Update PKG_CONFIG variables after recent changes X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~33772 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=aebb71afe54b266de39ec7e1caf84e6426aaafba;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass index a8f3b601c20..28fd2116c04 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}"