summaryrefslogtreecommitdiffstats
path: root/meta/classes
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-29 12:05:31 +0100
commitb4cd7ef48e9576dc5a27519af926bab30d4dc47d (patch)
tree786a103d8119f51b56f4636094c892abdc6e3972 /meta/classes
parent03d54a42a3be77d18f5e8d67dc077f65f2cd4457 (diff)
downloadpoky-b4cd7ef48e9576dc5a27519af926bab30d4dc47d.tar.gz
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 (From OE-Core rev: b88f0590b4606d8adc8d728086a22325c1ae56b1) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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}"
8# Our patched version of Vala looks in STAGING_DATADIR for .vapi files 8# Our patched version of Vala looks in STAGING_DATADIR for .vapi files
9export STAGING_DATADIR 9export STAGING_DATADIR
10# Upstream Vala >= 0.11 looks in XDG_DATA_DIRS for .vapi files 10# Upstream Vala >= 0.11 looks in XDG_DATA_DIRS for .vapi files
11export XDG_DATA_DIRS = "${STAGING_DATADIR}" 11export XDG_DATA_DIRS = "${STAGING_DATADIR}:${STAGING_LIBDIR}"
12 12
13# Package additional files 13# Package additional files
14FILES_${PN}-dev += "\ 14FILES_${PN}-dev += "\