]> code.ossystems Code Review - openembedded-core.git/commitdiff
gobject-introspection.bbclass: add libdir to XDG_DATA_DIRS
authorAlexander Kanavin <alex.kanavin@gmail.com>
Mon, 3 Dec 2018 12:17:10 +0000 (13:17 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Dec 2018 12:28:54 +0000 (12:28 +0000)
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 <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/gobject-introspection.bbclass

index a323c1fc876ecad97fa0c6cef99cd6d13ce81998..4ceb0c68b121dab647f113ebd191cad6ce90601b 100644 (file)
@@ -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