summaryrefslogtreecommitdiff
path: root/tools/perf/Makefile
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2010-05-17 19:42:37 (GMT)
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-05-17 19:42:37 (GMT)
commit63aa9e7e3ab28ad5362502b1a69fae945367ad65 (patch)
treef80589fc077c3b652de6e8797dbc23c203361a50 /tools/perf/Makefile
parentedb7c60e27c1baff38d82440dc52eaffac9a45f4 (diff)
downloadlinux-63aa9e7e3ab28ad5362502b1a69fae945367ad65.tar.xz
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/perf/Makefile')
-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