0df750e9d3
By making libvhost-user a subproject, check it builds standalone (without the global QEMU cflags etc). Note that the library still relies on QEMU include/qemu/atomic.h and linux_headers/. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20201125100640.366523-6-marcandre.lureau@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
7 lines
244 B
Meson
7 lines
244 B
Meson
if 'CONFIG_LIBISCSI' in config_host
|
|
executable('vhost-user-scsi', files('vhost-user-scsi.c'),
|
|
dependencies: [qemuutil, libiscsi, vhost_user],
|
|
build_by_default: targetos == 'linux',
|
|
install: false)
|
|
endif
|