forked from pool/bpftool
14 lines
529 B
Diff
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)
|