diff options
-rw-r--r-- | meta/classes/gobject-introspection-data.bbclass | 5 | ||||
-rw-r--r-- | meta/recipes-gnome/gobject-introspection/gobject-introspection_1.72.0.bb | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/meta/classes/gobject-introspection-data.bbclass b/meta/classes/gobject-introspection-data.bbclass index 2ef684626a..d90cdb4839 100644 --- a/meta/classes/gobject-introspection-data.bbclass +++ b/meta/classes/gobject-introspection-data.bbclass | |||
@@ -5,3 +5,8 @@ | |||
5 | # so that qemu use can be avoided when necessary. | 5 | # so that qemu use can be avoided when necessary. |
6 | GI_DATA_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', \ | 6 | GI_DATA_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', \ |
7 | bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'True', 'False', d), 'False', d)}" | 7 | bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'True', 'False', d), 'False', d)}" |
8 | |||
9 | do_compile:prepend() { | ||
10 | # This prevents g-ir-scanner from writing cache data to $HOME | ||
11 | export GI_SCANNER_DISABLE_CACHE=1 | ||
12 | } | ||
diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.72.0.bb b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.72.0.bb index 355e77d107..9a47e908b7 100644 --- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.72.0.bb +++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.72.0.bb | |||
@@ -113,9 +113,6 @@ EOF | |||
113 | } | 113 | } |
114 | 114 | ||
115 | do_compile:prepend() { | 115 | do_compile:prepend() { |
116 | # This prevents g-ir-scanner from writing cache data to $HOME | ||
117 | export GI_SCANNER_DISABLE_CACHE=1 | ||
118 | |||
119 | # Needed to run g-ir unit tests, which won't be able to find the built libraries otherwise | 116 | # Needed to run g-ir unit tests, which won't be able to find the built libraries otherwise |
120 | export GIR_EXTRA_LIBS_PATH=$B/.libs | 117 | export GIR_EXTRA_LIBS_PATH=$B/.libs |
121 | } | 118 | } |