[3/3] examples/vhost_crypto: fix dependency on vhost library
Checks
Commit Message
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.
CC: stable@dpdk.org
Fixes: f5188211c721 ("examples/vhost_crypto: add sample application")
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
examples/vhost_crypto/meson.build | 1 +
1 file changed, 1 insertion(+)
Comments
On 2/25/19 4:23 PM, Bruce Richardson wrote:
> 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.
>
> CC: stable@dpdk.org
> Fixes: f5188211c721 ("examples/vhost_crypto: add sample application")
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> ---
> examples/vhost_crypto/meson.build | 1 +
> 1 file changed, 1 insertion(+)
>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Thanks,
Maxime
@@ -6,6 +6,7 @@
# To build this example as a standalone application with an already-installed
# DPDK instance, use 'make'
+build = dpdk_conf.has('RTE_LIBRTE_VHOST')
allow_experimental_apis = true
deps += ['vhost', 'cryptodev']
cflags += ['-D_FILE_OFFSET_BITS=64']