From: Bruce Richardson Date: Thu, 1 Feb 2018 14:20:11 +0000 (+0000) Subject: test/kni: fix dependency for BSD meson build X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9d6cc2d30ab4e2dd9131488f8beca3ead384bb57;p=dpdk.git test/kni: fix dependency for BSD meson build The KNI library is not built on FreeBSD, so it needs to be an optional rather than a mandatory dependency for building the autotest binary. Fixes: b5dc795a8a55 ("test: build app with meson as dpdk-test") Signed-off-by: Bruce Richardson --- diff --git a/test/test/meson.build b/test/test/meson.build index e8ddb76e35..eb3d87a4d2 100644 --- a/test/test/meson.build +++ b/test/test/meson.build @@ -230,6 +230,9 @@ endif if dpdk_conf.has('RTE_LIBRTE_POWER') test_deps += 'power' endif +if dpdk_conf.has('RTE_LIBRTE_KNI') + test_deps += 'kni' +endif test_dep_objs = [] foreach d:test_deps