meson: add qemu-bridge-helper

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Marc-André Lureau 2019-07-15 14:39:25 +04:00 committed by Paolo Bonzini
parent 588a19fa9d
commit 8f51e01c01
2 changed files with 8 additions and 5 deletions

View file

@ -297,7 +297,6 @@ qemuutil = declare_dependency(link_with: libqemuutil,
sources: genh + version_res)
# Other build targets
if 'CONFIG_GUEST_AGENT' in config_host
subdir('qga')
endif
@ -315,6 +314,14 @@ if have_tools
subdir('contrib/vhost-user-input')
subdir('contrib/vhost-user-scsi')
endif
if targetos == 'linux'
executable('qemu-bridge-helper', files('qemu-bridge-helper.c'),
dependencies: [qemuutil, libcap_ng],
install: true,
install_dir: get_option('libexecdir'))
endif
if 'CONFIG_IVSHMEM' in config_host
subdir('contrib/ivshmem-client')
subdir('contrib/ivshmem-server')