]> git.droids-corp.org - dpdk.git/commitdiff
build: use static deps for pkg-config libs.private
authorLuca Boccassi <bluca@debian.org>
Fri, 11 Jan 2019 16:12:44 +0000 (16:12 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 14 Jan 2019 11:24:57 +0000 (12:24 +0100)
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>
meson.build

index 7cee3c94a41dd205311d9da5eed3db489ce94b92..617e885897f6d4b8d071bb56ab1d9b8ef07909ef 100644 (file)
@@ -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'), '.'],