summaryrefslogtreecommitdiff
path: root/config
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 /config
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 'config')
-rw-r--r--config/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/meson.build b/config/meson.build
index 6f9228c..275f00b 100644
--- a/config/meson.build
+++ b/config/meson.build
@@ -21,6 +21,9 @@ toolchain = cc.get_id()
dpdk_conf.set_quoted('RTE_TOOLCHAIN', toolchain)
dpdk_conf.set('RTE_TOOLCHAIN_' + toolchain.to_upper(), 1)
+add_project_link_arguments('-Wl,--no-as-needed', language: 'c')
+dpdk_extra_ldflags += '-Wl,--no-as-needed'
+
# use pthreads
add_project_link_arguments('-pthread', language: 'c')
dpdk_extra_ldflags += '-pthread'