git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
examples/vhost_scsi: disable build if missing dependency
[dpdk.git]
/
examples
/
vhost_scsi
/
meson.build
diff --git
a/examples/vhost_scsi/meson.build
b/examples/vhost_scsi/meson.build
index
2303bca
..
ca12480
100644
(file)
--- a/
examples/vhost_scsi/meson.build
+++ b/
examples/vhost_scsi/meson.build
@@
-9,6
+9,11
@@
if host_machine.system() != 'linux'
build = false
endif
+
+if not cc.has_header('virtio_scsi.h')
+ build = false
+endif
+
deps += 'vhost'
cflags += ['-D_FILE_OFFSET_BITS=64']
sources = files(