From: Bruce Richardson Date: Thu, 1 Feb 2018 14:20:10 +0000 (+0000) Subject: test/power: fix dependency for BSD meson build X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=7ae096c46ceef5aba8254ce043321ed5073cb4ee;p=dpdk.git 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 --- 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