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: lucaceresoli/bug-15201-perf-libtraceevent-missing~15965 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfae171964ba85298d883e70635324a33b8539ac;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 a323c1fc876..4ceb0c68b12 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