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 <bruce.richard...@intel.com> --- 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 2457a2adb..e8ddb76e3 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.14.1