aboutsummaryrefslogtreecommitdiff
path: root/contrib/vhost-user-scsi/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/vhost-user-scsi/meson.build')
-rw-r--r--contrib/vhost-user-scsi/meson.build7
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