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-02 20:46:58 +0100 |
commit | 53ea37413dd834f8a39d2e83fef1901c8bac7f40 (patch) | |
tree | ab74c5c901cc1972b2c94cf777d7a40f25385c31 | |
parent | 37c498ad2bda71dc6aa4645e15afc98961221fda (diff) | |
download | poky-53ea37413dd834f8a39d2e83fef1901c8bac7f40.tar.gz |
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.
(From OE-Core rev: aebb71afe54b266de39ec7e1caf84e6426aaafba)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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}" | |||
21 | 21 | ||
22 | PACKAGE_ARCH = "${BUILD_ARCH}" | 22 | PACKAGE_ARCH = "${BUILD_ARCH}" |
23 | 23 | ||
24 | export PKG_CONFIG_DIR = "${STAGING_DIR}/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}${libdir}/pkgconfig" | 24 | export PKG_CONFIG_DIR = "${exec_prefix}/lib/pkgconfig" |
25 | export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR}/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}" | 25 | export PKG_CONFIG_SYSROOT_DIR = "" |
26 | 26 | ||
27 | CPPFLAGS = "${BUILD_CPPFLAGS}" | 27 | CPPFLAGS = "${BUILD_CPPFLAGS}" |
28 | CFLAGS = "${BUILD_CFLAGS}" | 28 | CFLAGS = "${BUILD_CFLAGS}" |