diff options
author | Markus Volk <f_l_k@t-online.de> | 2023-01-09 14:34:37 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-12 23:08:58 +0000 |
commit | 8962d3a4ce9712b66e23d3fe4bb2919e6638cb12 (patch) | |
tree | b77ca47b5197e8830a931ab772ae6ee62bd70588 | |
parent | cc9244ca70957cf1ed11ee987fc6496e3ea92567 (diff) | |
download | poky-8962d3a4ce9712b66e23d3fe4bb2919e6638cb12.tar.gz |
librsvg: enable vapi build
Otherwise gnome-chess will fail like this:
| error: Package `librsvg-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories
| Compilation failed: 1 error(s), 0 warning(s)
(From OE-Core rev: ed814eff90677f894d9eb480d8d4389c64a35820)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-gnome/librsvg/librsvg_2.54.5.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-gnome/librsvg/librsvg_2.54.5.bb b/meta/recipes-gnome/librsvg/librsvg_2.54.5.bb index fc52ae61c5..b2e93a2684 100644 --- a/meta/recipes-gnome/librsvg/librsvg_2.54.5.bb +++ b/meta/recipes-gnome/librsvg/librsvg_2.54.5.bb | |||
@@ -42,6 +42,8 @@ do_configure[postfuncs] += "cargo_common_do_configure" | |||
42 | 42 | ||
43 | inherit rust-target-config | 43 | inherit rust-target-config |
44 | 44 | ||
45 | EXTRA_OECONF:class-target = "--enable-vala" | ||
46 | |||
45 | # rust-cross writes the target linker binary into target json definition without any flags. | 47 | # rust-cross writes the target linker binary into target json definition without any flags. |
46 | # This breaks here because the linker isn't going to work without at least knowing where | 48 | # This breaks here because the linker isn't going to work without at least knowing where |
47 | # the sysroot is. So copy the json to workdir, and patch in the path to wrapper from rust class | 49 | # the sysroot is. So copy the json to workdir, and patch in the path to wrapper from rust class |