From 43b6d7ee1fbc5b5fb7c85d8131fdac1863214ad6 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Wed, 20 Apr 2022 17:34:06 +0200 Subject: meson: use have_vhost_* variables to pick sources MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 108292e50f..6627bf02ee 100644 --- a/meson.build +++ b/meson.build @@ -319,6 +319,7 @@ have_vhost_kernel = 'CONFIG_VHOST_KERNEL' in config_host have_vhost_net_user = 'CONFIG_VHOST_NET_USER' in config_host have_vhost_net_vdpa = 'CONFIG_VHOST_NET_VDPA' in config_host have_vhost_net = 'CONFIG_VHOST_NET' in config_host +have_vhost = have_vhost_user or have_vhost_vdpa or have_vhost_kernel have_vhost_user_crypto = 'CONFIG_VHOST_CRYPTO' in config_host # Target-specific libraries and flags -- cgit v1.2.3