27a559cfe1
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: f5188211c7
("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>
16 lines
433 B
Meson
16 lines
433 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2017-2018 Intel Corporation
|
|
|
|
# meson file, for building this example as part of a main DPDK build.
|
|
#
|
|
# 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']
|
|
sources = files(
|
|
'main.c'
|
|
)
|