bpftool/binutils-2.40.patch

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)