SHA256
1
0
forked from pool/bpftool
bpftool/binutils-2.40.patch

14 lines
522 B
Diff
Raw Normal View History

diff --git a/tools/bpf/bpftool/Makefile b/tools/bpf/bpftool/Makefile
index f610e184ce02..afef9c65614e 100644
--- a/tools/bpf/bpftool/Makefile
+++ b/tools/bpf/bpftool/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
else ifeq ($(feature-libbfd-liberty),1)
LIBS += -lbfd -ldl -lopcodes -liberty
else ifeq ($(feature-libbfd-liberty-z),1)