SHA256
1
0
forked from pool/bpftool
bpftool/binutils-2.40.patch
2023-02-16 14:45:03 +00:00

14 lines
529 B
Diff

diff --git a/tools/bpf/bpftool/Makefile b/tools/bpf/bpftool/Makefile
index 4a95c017ad4c..9a4851df3276 100644
--- a/tools/bpf/bpftool/Makefile
+++ b/tools/bpf/bpftool/Makefile
@@ -139,6 +139,8 @@ SRCS = $(filter-out $(BFD_SRCS),$(wildcard *.c))
ifeq ($(feature-libbfd),1)
LIBS += -lbfd -ldl -lopcodes
+else ifeq ($(feature-libbfd-liberty-sframe),1)
+ LIBS += -lbfd -ldl -lopcodes -liberty -lsframe
else ifeq ($(feature-libbfd-liberty),1)
LIBS += -lbfd -ldl -lopcodes -liberty
else ifeq ($(feature-libbfd-liberty-z),1)