@@ -24,6 +24,12 @@ SRC_URI[sha256sum] = "cd05c9589b9f86ecf044c10a2269822bc9eb001eced2582cfffd658b0a
inherit autotools pkgconfig
+# Tell the native pkgconf to use directories that don't exist, so we _need_ to
+# tell it the paths with environment variables.
+EXTRA_OECONF:append:class-native = " --with-pkg-config-dir='/not/exist' \
+ --with-system-includedir=/not/exist/include \
+ --with-system-libdir=/not/exist/lib"
+
do_install:append () {
# Install a wrapper which deals, as much as possible with pkgconf vs
# pkg-config compatibility issues.
Neuter the native build of pkgconf so that it doesn't default to looking on the build host for .pc files, to avoid accidental host contamination. Signed-off-by: Ross Burton <ross.burton@arm.com> --- meta/recipes-devtools/pkgconf/pkgconf_2.5.1.bb | 6 ++++++ 1 file changed, 6 insertions(+)