aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2010-05-17 16:42:37 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-05-17 16:42:37 -0300
commit63aa9e7e3ab28ad5362502b1a69fae945367ad65 (patch)
treef80589fc077c3b652de6e8797dbc23c203361a50 /tools
parentedb7c60e27c1baff38d82440dc52eaffac9a45f4 (diff)
downloadkernel_goldelico_gta04-63aa9e7e3ab28ad5362502b1a69fae945367ad65.zip
kernel_goldelico_gta04-63aa9e7e3ab28ad5362502b1a69fae945367ad65.tar.gz
kernel_goldelico_gta04-63aa9e7e3ab28ad5362502b1a69fae945367ad65.tar.bz2
perf tui: Add explicit -lslang option
At least on rawhide using -lnewt is not enough if we use SLang routines directly, so add an explicit -lslang since we use SLang routines. Reported-by: Ingo Molnar <mingo@elte.hu> Tested-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index a9281cc..e2729fc 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -564,7 +564,7 @@ ifneq ($(shell sh -c "(echo '\#include <newt.h>'; echo 'int main(void) { newtIni
else
# Fedora has /usr/include/slang/slang.h, but ubuntu /usr/include/slang.h
BASIC_CFLAGS += -I/usr/include/slang
- EXTLIBS += -lnewt
+ EXTLIBS += -lnewt -lslang
LIB_OBJS += $(OUTPUT)util/newt.o
endif