From: Alexander Kanavin Date: Mon, 3 Dec 2018 12:17:10 +0000 (+0100) Subject: gobject-introspection.bbclass: add libdir to XDG_DATA_DIRS X-Git-Tag: uninative-2.4~940 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=cfae171964ba85298d883e70635324a33b8539ac;p=openembedded-core.git gobject-introspection.bbclass: add libdir to XDG_DATA_DIRS Otherwise .gir files installed in the sysroot will not be found when multilib is in use (multilib configurations use libdir rather than datadir). Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- diff --git a/meta/classes/gobject-introspection.bbclass b/meta/classes/gobject-introspection.bbclass index a323c1fc87..4ceb0c68b1 100644 --- a/meta/classes/gobject-introspection.bbclass +++ b/meta/classes/gobject-introspection.bbclass @@ -25,7 +25,7 @@ DEPENDS_append_class-native = " gobject-introspection-native" DEPENDS_append_class-nativesdk = " gobject-introspection-native" # This is used by introspection tools to find .gir includes -export XDG_DATA_DIRS = "${STAGING_DATADIR}" +export XDG_DATA_DIRS = "${STAGING_DATADIR}:${STAGING_LIBDIR}" do_configure_prepend_class-target () { # introspection.m4 pre-packaged with upstream tarballs does not yet