diff options
author | Paolo Bonzini | 2019-06-10 12:21:14 +0200 |
---|---|---|
committer | Paolo Bonzini | 2020-08-21 12:30:09 +0200 |
commit | 99650b628f03564d5c2ac022eb0430ddaab038da (patch) | |
tree | b495e8c290706c7362bbba8ed7ccd005f53d2013 /contrib/vhost-user-scsi/meson.build | |
parent | vhost-user-scsi: add compatibility for libiscsi 1.9.0 (diff) | |
download | qemu-99650b628f03564d5c2ac022eb0430ddaab038da.tar.gz qemu-99650b628f03564d5c2ac022eb0430ddaab038da.tar.xz qemu-99650b628f03564d5c2ac022eb0430ddaab038da.zip |
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>
Diffstat (limited to 'contrib/vhost-user-scsi/meson.build')
-rw-r--r-- | contrib/vhost-user-scsi/meson.build | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/vhost-user-scsi/meson.build b/contrib/vhost-user-scsi/meson.build new file mode 100644 index 0000000000..257cbffc8e --- /dev/null +++ b/contrib/vhost-user-scsi/meson.build @@ -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 |