From 1230526d13dcaf55b80ee2e6b42db2d295ad151d Mon Sep 17 00:00:00 2001 From: Brandon Lo Date: Mon, 30 May 2022 21:22:35 +0530 Subject: [PATCH] examples/fips_validation: add jansson dependency Added a check for RTE_HAS_JANSSON into the meson configuration file for JSON support. Signed-off-by: Brandon Lo Acked-by: Gowrishankar Muthukrishnan Acked-by: Fan Zhang Tested-by: Jakub Poczatek --- examples/fips_validation/meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/fips_validation/meson.build b/examples/fips_validation/meson.build index 7eef456318..8cd63066b5 100644 --- a/examples/fips_validation/meson.build +++ b/examples/fips_validation/meson.build @@ -21,3 +21,7 @@ sources = files( 'fips_dev_self_test.c', 'main.c', ) + +if dpdk_conf.has('RTE_HAS_JANSSON') + ext_deps += jansson_dep +endif