aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/perf/Makefile.config6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config
index 0f11d5891301..df4ad45599ca 100644
--- a/tools/perf/Makefile.config
+++ b/tools/perf/Makefile.config
@@ -713,7 +713,7 @@ else
713endif 713endif
714 714
715ifeq ($(feature-libbfd), 1) 715ifeq ($(feature-libbfd), 1)
716 EXTLIBS += -lbfd 716 EXTLIBS += -lbfd -lopcodes
717else 717else
718 # we are on a system that requires -liberty and (maybe) -lz 718 # we are on a system that requires -liberty and (maybe) -lz
719 # to link against -lbfd; test each case individually here 719 # to link against -lbfd; test each case individually here
@@ -724,10 +724,10 @@ else
724 $(call feature_check,libbfd-liberty-z) 724 $(call feature_check,libbfd-liberty-z)
725 725
726 ifeq ($(feature-libbfd-liberty), 1) 726 ifeq ($(feature-libbfd-liberty), 1)
727 EXTLIBS += -lbfd -liberty 727 EXTLIBS += -lbfd -lopcodes -liberty
728 else 728 else
729 ifeq ($(feature-libbfd-liberty-z), 1) 729 ifeq ($(feature-libbfd-liberty-z), 1)
730 EXTLIBS += -lbfd -liberty -lz 730 EXTLIBS += -lbfd -lopcodes -liberty -lz
731 endif 731 endif
732 endif 732 endif
733endif 733endif