Message ID | 20230117112032.23723-1-alex.kiernan@gmail.com |
---|---|
State | New |
Headers | show |
Series | librsvg: Make Vala support dependent on gobject-introspection-data | expand |
diff --git a/meta/recipes-gnome/librsvg/librsvg_2.54.5.bb b/meta/recipes-gnome/librsvg/librsvg_2.54.5.bb index b2e93a268448..fcc25248c0d1 100644 --- a/meta/recipes-gnome/librsvg/librsvg_2.54.5.bb +++ b/meta/recipes-gnome/librsvg/librsvg_2.54.5.bb @@ -42,7 +42,7 @@ do_configure[postfuncs] += "cargo_common_do_configure" inherit rust-target-config -EXTRA_OECONF:class-target = "--enable-vala" +EXTRA_OECONF:append:class-target = " ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '--enable-vala', '--disable-vala', d)}" # rust-cross writes the target linker binary into target json definition without any flags. # This breaks here because the linker isn't going to work without at least knowing where
Build fails as Vala bindings require --enable-introspection: | checking for gobject-introspection... no (disabled, use --enable-introspection to enable) | configure: error: Vala bindings require GObject Introspection Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> --- meta/recipes-gnome/librsvg/librsvg_2.54.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)