summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKevin Laatz <kevin.laatz@intel.com>2018-10-27 10:17:50 +0100
committerThomas Monjalon <thomas@monjalon.net>2018-10-27 15:21:33 +0200
commit57ae0ec6262076788b8b9acd4ed1527c3655f9a9 (patch)
tree0ef8662826f9e017e11f038ed354b38873a35e68 /lib
parentc8e76f5ac34dee8f14a57265ff9cca4fe0e1de66 (diff)
downloaddpdk-57ae0ec6262076788b8b9acd4ed1527c3655f9a9.zip
dpdk-57ae0ec6262076788b8b9acd4ed1527c3655f9a9.tar.gz
dpdk-57ae0ec6262076788b8b9acd4ed1527c3655f9a9.tar.xz
build: add dependency on telemetry to apps with meson
This patch adds telemetry as a dependecy to all applications. Without these changes, the --telemetry flag will not be recognised and applications will fail to run if they want to enable telemetry. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Signed-off-by: Kevin Laatz <kevin.laatz@intel.com> Signed-off-by: Radu Nicolau <radu.nicolau@intel.com> Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/librte_telemetry/meson.build1
-rw-r--r--lib/meson.build1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/librte_telemetry/meson.build b/lib/librte_telemetry/meson.build
index b3bbf5b..9492f54 100644
--- a/lib/librte_telemetry/meson.build
+++ b/lib/librte_telemetry/meson.build
@@ -9,6 +9,7 @@ cflags += '-DALLOW_EXPERIMENTAL_API'
jansson = cc.find_library('jansson', required: false)
if jansson.found()
ext_deps += jansson
+ dpdk_app_link_libraries += ['telemetry']
else
build = false
endif
diff --git a/lib/meson.build b/lib/meson.build
index 9d1f353..c0cc2d8 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -132,6 +132,7 @@ foreach l:libraries
dependencies: shared_deps)
dpdk_libraries = [shared_lib] + dpdk_libraries
+ dpdk_static_libraries = [static_lib] + dpdk_static_libraries
endif # sources.length() > 0
set_variable('shared_' + libname, shared_dep)