examples/vhost_scsi: fix header check for meson build

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>
This commit is contained in:
Bruce Richardson 2019-04-08 10:46:36 +01:00 committed by Thomas Monjalon
parent 70b2c7f12c
commit f380206979

View 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