From cfae171964ba85298d883e70635324a33b8539ac Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Mon, 3 Dec 2018 13:17:10 +0100 Subject: 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 --- meta/classes/gobject-introspection.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes/gobject-introspection.bbclass') 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 -- cgit 1.2.3-korg