summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2019-01-11 16:12:44 +0000
committerThomas Monjalon <thomas@monjalon.net>2019-01-14 12:24:57 +0100
commitd3588176716e6f8733a2534d7d3ab0dec8e550ec (patch)
tree78ad836bbdce7b16d29413a1ca2fae400c3a2b83 /meson.build
parenta89fbda48922e85ffaf551b4a339d6d699797a93 (diff)
downloaddpdk-d3588176716e6f8733a2534d7d3ab0dec8e550ec.zip
dpdk-d3588176716e6f8733a2534d7d3ab0dec8e550ec.tar.gz
dpdk-d3588176716e6f8733a2534d7d3ab0dec8e550ec.tar.xz
build: use static deps for pkg-config libs.private
Dependencies of the RTE libraries were not being added to the Requires.private field of the pc file since the variable used for dynamic linking was passed to the related field of pkg.generate. Use the static one so that dependencies are included. Fixes: 57ae0ec62620 ("build: add dependency on telemetry to apps with meson") Cc: stable@dpdk.org Signed-off-by: Luca Boccassi <bluca@debian.org>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 7cee3c9..617e885 100644
--- a/meson.build
+++ b/meson.build
@@ -81,7 +81,7 @@ pkg.generate(name: meson.project_name(),
filebase: 'lib' + meson.project_name().to_lower(),
version: meson.project_version(),
libraries: dpdk_libraries,
- libraries_private: dpdk_drivers + dpdk_libraries +
+ libraries_private: dpdk_drivers + dpdk_static_libraries +
['-Wl,-Bdynamic'] + dpdk_extra_ldflags,
description: 'The Data Plane Development Kit (DPDK)',
subdirs: [get_option('include_subdir_arch'), '.'],