summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Monjalon <thomas@monjalon.net>2019-08-13 01:03:53 +0200
committerThomas Monjalon <thomas@monjalon.net>2019-09-12 18:32:40 +0200
commit167d9c67975fb2207e03644ce7b5e23d56b73e70 (patch)
tree074c85b9cd7d663e7735105591f66728a92fa242
parentd5123b4c4c12c46fe4f3b765442bec0a1f387b09 (diff)
downloaddpdk-167d9c67975fb2207e03644ce7b5e23d56b73e70.zip
dpdk-167d9c67975fb2207e03644ce7b5e23d56b73e70.tar.gz
dpdk-167d9c67975fb2207e03644ce7b5e23d56b73e70.tar.xz
build: remove redundant libs from pkgconfig
As explained in drivers/meson.build, " For the find_library() case (but not with dependency()) we also need to specify the "-l" flags in pkgconfig_extra_libs variable too, so that it can be reflected in the pkgconfig output for static builds. " The commit e30b4e566f47 ("build: improve dependency handling") must be followed up with this one in order to remove more occurences of pkgconfig_extra_libs redundant with use of dependency(). Fixes: f1debd77efaf ("net/af_xdp: introduce AF_XDP PMD") Fixes: 3c32e89f68e1 ("compress/isal: add skeleton ISA-L compression PMD") Cc: stable@dpdk.org Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Luca Boccassi <bluca@debian.org>
-rw-r--r--drivers/compress/isal/meson.build1
-rw-r--r--drivers/net/af_xdp/meson.build1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/compress/isal/meson.build b/drivers/compress/isal/meson.build
index 67b5c4a..2557888 100644
--- a/drivers/compress/isal/meson.build
+++ b/drivers/compress/isal/meson.build
@@ -10,6 +10,5 @@ endif
deps += 'bus_vdev'
sources = files('isal_compress_pmd.c', 'isal_compress_pmd_ops.c')
ext_deps += dep
-pkgconfig_extra_libs += '-lisal'
allow_experimental_apis = true
diff --git a/drivers/net/af_xdp/meson.build b/drivers/net/af_xdp/meson.build
index ac679b9..307aa0e 100644
--- a/drivers/net/af_xdp/meson.build
+++ b/drivers/net/af_xdp/meson.build
@@ -10,7 +10,6 @@ endif
if bpf_dep.found() and cc.has_header('bpf/xsk.h') and cc.has_header('linux/if_xdp.h')
ext_deps += bpf_dep
- pkgconfig_extra_libs += '-lbpf'
else
build = false
reason = 'missing dependency, "libbpf"'