From: Arnaldo Carvalho de Melo Date: Mon, 17 May 2010 19:42:37 +0000 (-0300) Subject: perf tui: Add explicit -lslang option X-Git-Tag: v2.6.35-rc1~3^2~51 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=63aa9e7e3ab28ad5362502b1a69fae945367ad65;p=platform%2Fkernel%2Flinux-3.10.git 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 Tested-by: Ingo Molnar Signed-off-by: Arnaldo Carvalho de Melo --- 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 '; 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