[oe-commits] [openembedded-core] 05/09: gobject-introspection.bbclass: add libdir to XDG_DATA_DIRS

git at git.openembedded.org git at git.openembedded.org
Mon Dec 3 12:45:36 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit adfc2e4bf27150dbc16fda1fe2fb9b030fd25328
Author: Alexander Kanavin <alex.kanavin at gmail.com>
AuthorDate: Mon Dec 3 13:17:10 2018 +0100

    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 <alex.kanavin at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/gobject-introspection.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/gobject-introspection.bbclass b/meta/classes/gobject-introspection.bbclass
index a323c1f..4ceb0c6 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list