From 7ae096c46ceef5aba8254ce043321ed5073cb4ee Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Thu, 1 Feb 2018 14:20:10 +0000 Subject: [PATCH] test/power: fix dependency for BSD meson build The power 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 --- test/test/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test/meson.build b/test/test/meson.build index 2457a2adba..e8ddb76e35 100644 --- a/test/test/meson.build +++ b/test/test/meson.build @@ -111,7 +111,6 @@ test_deps = ['acl', 'member', 'pipeline', 'port', - 'power', 'reorder', 'ring', 'timer' @@ -228,6 +227,9 @@ endif if dpdk_conf.has('RTE_LIBRTE_RING_PMD') test_deps += 'pmd_ring' endif +if dpdk_conf.has('RTE_LIBRTE_POWER') + test_deps += 'power' +endif test_dep_objs = [] foreach d:test_deps -- 2.20.1