1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

gobject-introspection: disable scanner caching in install

do_compile and the wrapper already disable touching the
home cache. Do the same in do_install.

[YOCTO #13970]

(From OE-Core rev: ad4b50ca75b902d217c2ce6ebdf7cad7426fc23f)

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jeremy Puhlman
2020-08-13 10:37:53 -07:00
committed by Richard Purdie
parent e95851d966
commit 0bdb86b457
@@ -131,6 +131,11 @@ do_compile_prepend() {
export GIR_EXTRA_LIBS_PATH=$B/.libs
}
do_install_prepend() {
# This prevents g-ir-scanner from writing cache data to $HOME
export GI_SCANNER_DISABLE_CACHE=1
}
# Our wrappers need to be available system-wide, because they will be used
# to build introspection files for all other gobject-based packages
do_install_append_class-target() {