aboutsummaryrefslogtreecommitdiff
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
parentedb7c60e27c1baff38d82440dc52eaffac9a45f4 (diff)
downloadlinux-2.6.34-ux500-63aa9e7e3ab28ad5362502b1a69fae945367ad65.tar.gz
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>
-rw-r--r--tools/perf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index a9281cca411..e2729fcfaf3 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