diff options
-rw-r--r-- | tools/perf/config/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile index 98c9fd174e98..58f609198c6d 100644 --- a/tools/perf/config/Makefile +++ b/tools/perf/config/Makefile | |||
@@ -653,11 +653,13 @@ else | |||
653 | sysconfdir = $(prefix)/etc | 653 | sysconfdir = $(prefix)/etc |
654 | ETC_PERFCONFIG = etc/perfconfig | 654 | ETC_PERFCONFIG = etc/perfconfig |
655 | endif | 655 | endif |
656 | ifndef lib | ||
656 | ifeq ($(IS_X86_64),1) | 657 | ifeq ($(IS_X86_64),1) |
657 | lib = lib64 | 658 | lib = lib64 |
658 | else | 659 | else |
659 | lib = lib | 660 | lib = lib |
660 | endif | 661 | endif |
662 | endif # lib | ||
661 | libdir = $(prefix)/$(lib) | 663 | libdir = $(prefix)/$(lib) |
662 | 664 | ||
663 | # Shell quote (do not use $(call) to accommodate ancient setups); | 665 | # Shell quote (do not use $(call) to accommodate ancient setups); |