mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
contrib/vhost-user-scsi: convert to Meson
The libiscsi pkg-config information is extracted from config-host.mak and used to link vhost-user-blk. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
7af0dbf990
commit
99650b628f
5 changed files with 13 additions and 7 deletions
|
@ -1 +0,0 @@
|
|||
vhost-user-scsi-obj-y = vhost-user-scsi.o
|
7
contrib/vhost-user-scsi/meson.build
Normal file
7
contrib/vhost-user-scsi/meson.build
Normal file
|
@ -0,0 +1,7 @@
|
|||
if 'CONFIG_LIBISCSI' in config_host
|
||||
executable('vhost-user-scsi', files('vhost-user-scsi.c'),
|
||||
link_with: libvhost_user,
|
||||
dependencies: [qemuutil, libiscsi],
|
||||
build_by_default: targetos == 'linux',
|
||||
install: false)
|
||||
endif
|
Loading…
Add table
Add a link
Reference in a new issue