diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-06-10 12:21:14 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-08-21 06:30:09 -0400 |
commit | 99650b628f03564d5c2ac022eb0430ddaab038da (patch) | |
tree | b495e8c290706c7362bbba8ed7ccd005f53d2013 /contrib/vhost-user-scsi | |
parent | 7af0dbf990afea54b6c2a186f7b6ec27c87304a8 (diff) |
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')
-rw-r--r-- | contrib/vhost-user-scsi/Makefile.objs | 1 | ||||
-rw-r--r-- | contrib/vhost-user-scsi/meson.build | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/contrib/vhost-user-scsi/Makefile.objs b/contrib/vhost-user-scsi/Makefile.objs deleted file mode 100644 index e83a38a85b..0000000000 --- a/contrib/vhost-user-scsi/Makefile.objs +++ /dev/null @@ -1 +0,0 @@ -vhost-user-scsi-obj-y = vhost-user-scsi.o 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 |