examples/l2fwd-crypto: fix missing dependency
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 15 Oct 2020 15:05:48 +0000 (16:05 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 19 Oct 2020 20:12:23 +0000 (22:12 +0200)
When the crypto-scheduler support is enabled, we were missing the
dependency on it as part of the meson build.

Fixes: 89f0711f9ddf ("examples: build some samples with meson")
Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
examples/l2fwd-crypto/meson.build

index 6c852ad..39e1604 100644 (file)
@@ -7,6 +7,9 @@
 # DPDK instance, use 'make'
 
 deps += 'cryptodev'
+if dpdk_conf.has('RTE_LIBRTE_PMD_CRYPTO_SCHEDULER')
+       deps += 'pmd_crypto_scheduler'
+endif
 allow_experimental_apis = true
 sources = files(
        'main.c'