aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-02-05 09:44:24 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2020-08-21 06:30:08 -0400
commit931049b46cb58a499a36d8a1d0ac3f7b334e0876 (patch)
tree098ebbc39c46194a50060a5f2155546f78df9fe2 /meson.build
parent04c6f1e798fc0f0f344e49b543a8334d9972d6c2 (diff)
downloadqemu-931049b46cb58a499a36d8a1d0ac3f7b334e0876.zip
qemu-931049b46cb58a499a36d8a1d0ac3f7b334e0876.tar.gz
qemu-931049b46cb58a499a36d8a1d0ac3f7b334e0876.tar.bz2
contrib/libvhost-user: convert to Meson
Since libqemuutil.a has been converted to Meson, the conversion is straightforward. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build8
1 files changed, 8 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index feb3c8a..00f17ef 100644
--- a/meson.build
+++ b/meson.build
@@ -243,6 +243,14 @@ libqemuutil = static_library('qemuutil',
qemuutil = declare_dependency(link_with: libqemuutil,
sources: genh + version_res)
+# Other build targets
+
+if have_tools
+ if 'CONFIG_VHOST_USER' in config_host
+ subdir('contrib/libvhost-user')
+ endif
+endif
+
summary_info = {}
summary_info += {'Install prefix': config_host['prefix']}
summary_info += {'BIOS directory': config_host['qemu_datadir']}