diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-01 15:41:12 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-01 22:49:00 +0100 |
commit | aebb71afe54b266de39ec7e1caf84e6426aaafba (patch) | |
tree | b34c762afbf422ce9268fa3d29b37e550add027c /meta | |
parent | 97df4e8e61a7693d548c3145e36f1d5503e91d03 (diff) | |
download | openembedded-core-aebb71afe54b266de39ec7e1caf84e6426aaafba.tar.gz openembedded-core-aebb71afe54b266de39ec7e1caf84e6426aaafba.tar.bz2 openembedded-core-aebb71afe54b266de39ec7e1caf84e6426aaafba.zip |
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@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/cross.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass index a8f3b601c2..28fd2116c0 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}" |