aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2010-05-17 15:42:37 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-05-17 15:42:37 -0400
commit63aa9e7e3ab28ad5362502b1a69fae945367ad65 (patch)
treef80589fc077c3b652de6e8797dbc23c203361a50 /tools
parentedb7c60e27c1baff38d82440dc52eaffac9a45f4 (diff)
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 a9281cca4114..e2729fcfaf30 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
564else 564else
565 # Fedora has /usr/include/slang/slang.h, but ubuntu /usr/include/slang.h 565 # Fedora has /usr/include/slang/slang.h, but ubuntu /usr/include/slang.h
566 BASIC_CFLAGS += -I/usr/include/slang 566 BASIC_CFLAGS += -I/usr/include/slang
567 EXTLIBS += -lnewt 567 EXTLIBS += -lnewt -lslang
568 LIB_OBJS += $(OUTPUT)util/newt.o 568 LIB_OBJS += $(OUTPUT)util/newt.o
569endif 569endif
570 570