examples/vhost_scsi: fix header check for meson build
authorBruce Richardson <bruce.richardson@intel.com>
Mon, 8 Apr 2019 09:46:36 +0000 (10:46 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 22 Apr 2019 22:15:10 +0000 (00:15 +0200)
The header check for the example app was looking for virtio_scsi.h without
the "linux/" prefix, which meant it was never getting found when it should
have been.

Fixes: 8d47a753b7cb ("examples/vhost_scsi: disable build if missing dependency")
Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
examples/vhost_scsi/meson.build

index 2e9339a..2972e4d 100644 (file)
@@ -10,7 +10,7 @@ if not is_linux
        build = false
 endif
 
-if not cc.has_header('virtio_scsi.h')
+if not cc.has_header('linux/virtio_scsi.h')
        build = false
 endif