examples/vhost_crypto: fix dependency on vhost library
authorBruce Richardson <bruce.richardson@intel.com>
Mon, 25 Feb 2019 15:23:04 +0000 (15:23 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 26 Feb 2019 15:22:56 +0000 (16:22 +0100)
commit27a559cfe1c72852fc6ea9f33a151896baeae743
tree0e8c17a8652277bee89fea3b99353e0abc67572f
parent0c56257a61ec272926c2560b60d078ba266f8564
examples/vhost_crypto: fix dependency on vhost library

The vhost_crypto example app can't be used without the DPDK vhost
library, so disable the build of the example if the lib hasn't been
built.

Fixes: f5188211c721 ("examples/vhost_crypto: add sample application")
Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
examples/vhost_crypto/meson.build