SHA256
1
0
forked from pool/bpftool
bpftool/binutils-2.40.patch
Marcus Meissner 78e9bc3111 Accepting request 1086590 from home:michals
- Update to out-of-tree version 7.2.0
- Use release tarball that includes the specific copy of libbpf that is needed
  to build bpftool
- Fix build on Linux 5.14
  + 0001-bpftool-use-a-local-copy-of-perf_event-to-fix-access.patch
  + 0002-bpftool-define-a-local-bpf_perf_link-to-fix-accessin.patch
  + 0003-bpftool-use-a-local-bpf_perf_event_value-to-fix-acce.patch
  + 0004-bpftool-Use-a-local-copy-of-BPF_LINK_TYPE_PERF_EVENT.patch

OBS-URL: https://build.opensuse.org/request/show/1086590
OBS-URL: https://build.opensuse.org/package/show/Base:System/bpftool?expand=0&rev=16
2023-05-15 10:56:48 +00:00

14 lines
501 B
Diff

diff --git a/tools/bpf/bpftool/Makefile b/tools/bpf/bpftool/Makefile
index f610e184ce02..21cd7505e871 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -154,6 +154,8 @@ else
# Fall back on libbfd
ifeq ($(feature-libbfd),1)
LIBS += -lbfd -ldl -lopcodes
+ else ifeq ($(feature-libbfd-liberty-sframe),1)
+ LIBS += -lbfd -ldl -lopcodes -liberty -lsframe -lzstd
else ifeq ($(feature-libbfd-liberty),1)
LIBS += -lbfd -ldl -lopcodes -liberty
else ifeq ($(feature-libbfd-liberty-z),1)