Skip to content
Commit 89dedaef authored by Björn Töpel's avatar Björn Töpel Committed by Daniel Borkmann
Browse files

libbpf: add libelf dependency to shared library build

The DPDK project is moving forward with its AF_XDP PMD, and during
that process some libbpf issues surfaced [1]: When libbpf was built
as a shared library, libelf was not included in the linking phase.
Since libelf is an internal depedency to libbpf, libelf should be
included. This patch adds '-lelf' to resolve that.

  [1] https://patches.dpdk.org/patch/50704/#93571



Fixes: 1b76c13e ("bpf tools: Introduce 'bpf' library and add bpf feature check")
Suggested-by: default avatarLuca Boccassi <bluca@debian.org>
Signed-off-by: default avatarBjörn Töpel <bjorn.topel@intel.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
parent 379e2014
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment