diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2018-12-03 13:17:10 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-05 12:37:02 +0000 |
commit | 185f1d99fd7cfa5b5d3fbc43c010096f8e7a59ed (patch) | |
tree | 873f14fe294e0a73e478ee964ea21c9e30ef75d1 /meta/classes/gobject-introspection.bbclass | |
parent | a72b52b405dd489f5e8bc0af2ea06e3002e4a079 (diff) | |
download | poky-185f1d99fd7cfa5b5d3fbc43c010096f8e7a59ed.tar.gz |
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).
(From OE-Core rev: cfae171964ba85298d883e70635324a33b8539ac)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/gobject-introspection.bbclass')
-rw-r--r-- | meta/classes/gobject-introspection.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
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" | |||
25 | DEPENDS_append_class-nativesdk = " gobject-introspection-native" | 25 | DEPENDS_append_class-nativesdk = " gobject-introspection-native" |
26 | 26 | ||
27 | # This is used by introspection tools to find .gir includes | 27 | # This is used by introspection tools to find .gir includes |
28 | export XDG_DATA_DIRS = "${STAGING_DATADIR}" | 28 | export XDG_DATA_DIRS = "${STAGING_DATADIR}:${STAGING_LIBDIR}" |
29 | 29 | ||
30 | do_configure_prepend_class-target () { | 30 | do_configure_prepend_class-target () { |
31 | # introspection.m4 pre-packaged with upstream tarballs does not yet | 31 | # introspection.m4 pre-packaged with upstream tarballs does not yet |