[dpdk-dev] [PATCH 4/6] test/test: fix dependency on power lib for BSD meson build
Bruce Richardson
bruce.richardson at intel.com
Wed Jan 31 18:42:47 CET 2018
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.richardson at 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
More information about the dev
mailing list