From 0e32e1cb260aac59cabbbeba26f8f844978a75a0 Mon Sep 17 00:00:00 2001 From: Peter Bergin Date: Wed, 19 Mar 2025 17:13:27 +0100 Subject: pkg-config-native,librsvg-native: fix EXTRA_NATIVE_PKGCONFIG_PATH When building librsvg-native the variable PKG_CONFIG_PATH was incorrect in the bitbake environment but handled correct due to the pkg-config-native wrapper. Commit [1] and [2] introduced some inconsistens of EXTRA_NATIVE_PKGCONFIG_PATH where it was prepended in pkg-config-native wrappers but appended in native.bbclass. meta/classes-recipe/native.bbclass: PKG_CONFIG_PATH .= "${EXTRA_NATIVE_PKGCONFIG_PATH}" This commit will try to resolve this to always append the EXTRA_NATIVE_PKGCONFIG_PATH. It is tested by building librsvg-native and also checking bitbake environment before and after. [1] https://git.openembedded.org/openembedded-core/commit?id=2bc050146d47b14d890a1b0db2b55f9057a08b65 [2] https://git.openembedded.org/openembedded-core/commit?id=ae4824f4f6234884a245bce314d6305ad8eb982d (From OE-Core rev: a59fa4a4bf08bbbd79fbb1642b3e3b23181f87c9) Signed-off-by: Peter Bergin Cc: Alexander Kanavin Signed-off-by: Richard Purdie --- meta/recipes-gnome/librsvg/librsvg_2.59.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-gnome') diff --git a/meta/recipes-gnome/librsvg/librsvg_2.59.2.bb b/meta/recipes-gnome/librsvg/librsvg_2.59.2.bb index 7718f2bb48..983fc75eed 100644 --- a/meta/recipes-gnome/librsvg/librsvg_2.59.2.bb +++ b/meta/recipes-gnome/librsvg/librsvg_2.59.2.bb @@ -34,7 +34,7 @@ UPSTREAM_CHECK_REGEX = "librsvg-(?P\d+\.\d+\.(?!9\d+)\d+)" # for cargo to be happy BASEDEPENDS:append = " cargo-native" -export EXTRA_NATIVE_PKGCONFIG_PATH = "${B}/meson-uninstalled:" +export EXTRA_NATIVE_PKGCONFIG_PATH = ":${B}/meson-uninstalled" export RUST_BACKTRACE = "full" export RUSTFLAGS -- cgit v1.2.3-54-g00ecf