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:
parent
70b2c7f12c
commit
f380206979
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user