@@ -19,7 +19,7 @@ SRC_URI = "git://gitlab.freedesktop.org/pkg-config/pkg-config.git;branch=master;
file://0001-Backport-g-s-size-g-u-intptr-atomics-in-builtin-glib.patch \
"
-inherit autotools
+inherit autotools pkgconfig
# Because of a faulty test, the current auto mode always evaluates to no,
# so just continue that behaviour.
@@ -29,7 +29,7 @@ EXTRA_OECONF += "--disable-indirect-deps"
PACKAGECONFIG ??= "glib"
PACKAGECONFIG:class-native = ""
-PACKAGECONFIG[glib] = "--without-internal-glib,--with-internal-glib,glib-2.0 pkgconfig-native"
+PACKAGECONFIG[glib] = "--without-internal-glib,--with-internal-glib,glib-2.0"
BBCLASSEXTEND = "native nativesdk"
Building target pkgconfig needs pkgconfig-native because pkgconfig uses pkgconfig to find libglib. Inherit the pkgconfig class so that the pkgconfig recipe does not need to know the details of how pkgconfig is integrated. Native builds use an internal copy of glib to avoid the circular dependency, and the self-dependency on pkgconfig-native is automatically pruned. Signed-off-by: Ross Burton <ross.burton@arm.com> --- meta/recipes-devtools/pkgconfig/pkgconfig_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)