From: Alexander Kanavin Date: Tue, 15 Jun 2021 08:12:12 +0000 (+0200) Subject: cross-canadian: correct the location of pkg-config files X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~7539 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c84fbed676a8e6717592c86c3742566ad0decac;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git cross-canadian: correct the location of pkg-config files layout_libdir has not been defined for many years. Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass index 1e540350841..39b5bb93f49 100644 --- a/meta/classes/cross-canadian.bbclass +++ b/meta/classes/cross-canadian.bbclass @@ -155,7 +155,7 @@ libexecdir = "${exec_prefix}/libexec/${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS} FILES_${PN} = "${prefix}" -export PKG_CONFIG_DIR = "${STAGING_DIR_HOST}${layout_libdir}/pkgconfig" +export PKG_CONFIG_DIR = "${STAGING_DIR_HOST}${exec_prefix}/lib/pkgconfig" export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}" do_populate_sysroot[stamp-extra-info] = ""