summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2019-02-25 15:23:04 +0000
committerThomas Monjalon <thomas@monjalon.net>2019-02-26 16:22:56 +0100
commit27a559cfe1c72852fc6ea9f33a151896baeae743 (patch)
tree0e8c17a8652277bee89fea3b99353e0abc67572f /examples
parent0c56257a61ec272926c2560b60d078ba266f8564 (diff)
downloaddpdk-next-eventdev-27a559cfe1c72852fc6ea9f33a151896baeae743.zip
dpdk-next-eventdev-27a559cfe1c72852fc6ea9f33a151896baeae743.tar.gz
dpdk-next-eventdev-27a559cfe1c72852fc6ea9f33a151896baeae743.tar.xz
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>
Diffstat (limited to 'examples')
-rw-r--r--examples/vhost_crypto/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/vhost_crypto/meson.build b/examples/vhost_crypto/meson.build
index daf19fb..8e9860f 100644
--- a/examples/vhost_crypto/meson.build
+++ b/examples/vhost_crypto/meson.build
@@ -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']