The passt network backend uses gio; declare this dependency in meson.build, so we don't try to build it if configured with --disable-gio or if gio is not present.
Cc: qemu-sta...@nongnu.org Fixes: 854ee02b222 ("net: Add passt network backend") Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3121 Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 6ade30f36ad..c5a56ba5deb 100644 --- a/meson.build +++ b/meson.build @@ -1279,6 +1279,7 @@ if not get_option('slirp').auto() or have_system endif enable_passt = get_option('passt') \ + .require(gio.found(), error_message: 'passt requires gio') \ .require(host_os == 'linux', error_message: 'passt is supported only on Linux') \ .allowed() -- 2.43.0