lkml.org 
[lkml]   [2016]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/2] perf report: Find lib path correctly for gtk option
Date
When "perf report --gtk", it cannot find libperf-gtk.so.
This patch apply correct path of LIBDIR to setup_gtk_browser().

Signed-off-by: Kyeongmin Cho <korea.drzix@gmail.com>
---
tools/perf/config/Makefile | 2 +-
tools/perf/ui/Build | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
index f7d7f5a..d96b185 100644
--- a/tools/perf/config/Makefile
+++ b/tools/perf/config/Makefile
@@ -794,7 +794,7 @@ $(call detected_var,prefix_SQ)
$(call detected_var,perfexecdir_SQ)
$(call detected_var,tipdir_SQ)
$(call detected_var,srcdir_SQ)
-$(call detected_var,LIBDIR)
+$(call detected_var,libdir)
$(call detected_var,GTK_CFLAGS)
$(call detected_var,PERL_EMBED_CCOPTS)
$(call detected_var,PYTHON_EMBED_CCOPTS)
diff --git a/tools/perf/ui/Build b/tools/perf/ui/Build
index 0a73538..cd3f92f0 100644
--- a/tools/perf/ui/Build
+++ b/tools/perf/ui/Build
@@ -5,7 +5,7 @@ libperf-y += util.o
libperf-y += hist.o
libperf-y += stdio/hist.o

-CFLAGS_setup.o += -DLIBDIR="BUILD_STR($(LIBDIR))"
+CFLAGS_setup.o += -DLIBDIR="BUILD_STR($(libdir))"

libperf-$(CONFIG_SLANG) += browser.o
libperf-$(CONFIG_SLANG) += browsers/
--
2.5.5
\
 
 \ /
  Last update: 2016-04-28 15:21    [W:0.112 / U:0.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site