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: 2021-04.5-hardknott~144 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=e5022ff0a3e403d772a5b0654f9219274c1d6fb9;p=openembedded-core.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 (cherry picked from commit 2c84fbed676a8e6717592c86c3742566ad0decac) Signed-off-by: Anuj Mittal --- diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass index f5c9f61595..3fc9cac442 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] = ""