summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2020-03-26 13:18:18 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-28 10:24:40 +0000
commitb88f0590b4606d8adc8d728086a22325c1ae56b1 (patch)
treebd9bfd0ebb53ded057b73d90fb123fef4f26a901
parent2d0aea6a73c427ce6aa17dc71e0783977a52bb2b (diff)
downloadopenembedded-core-contrib-b88f0590b4606d8adc8d728086a22325c1ae56b1.tar.gz
openembedded-core-contrib-b88f0590b4606d8adc8d728086a22325c1ae56b1.tar.bz2
openembedded-core-contrib-b88f0590b4606d8adc8d728086a22325c1ae56b1.zip
vala.bbclass: add libdir to XDG_DATA_DIRS
Otherwise .gir files installed in the sysroot will not be found when multilib is in use. for vapigen, it need to find .vapi and .gir files under XDG_DATA_DIRS, for gobject-introspection, multilib configurations use libdir rather than datadir Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/vala.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/vala.bbclass b/meta/classes/vala.bbclass
index 615eb379ad..bcaf68c5a7 100644
--- a/meta/classes/vala.bbclass
+++ b/meta/classes/vala.bbclass
@@ -8,7 +8,7 @@ DEPENDS_append = " vala-native ${VALADEPENDS}"
# Our patched version of Vala looks in STAGING_DATADIR for .vapi files
export STAGING_DATADIR
# Upstream Vala >= 0.11 looks in XDG_DATA_DIRS for .vapi files
-export XDG_DATA_DIRS = "${STAGING_DATADIR}"
+export XDG_DATA_DIRS = "${STAGING_DATADIR}:${STAGING_LIBDIR}"
# Package additional files
FILES_${PN}-dev += "\