]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
perf tui: Add explicit -lslang option
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 May 2010 19:42:37 +0000 (16:42 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 May 2010 19:42:37 +0000 (16:42 -0300)
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>
tools/perf/Makefile

index a9281cca411412be75e12a867b1224af37cbfa45..e2729fcfaf300c7f38959e4dc3d8c63906c4ecdb 100644 (file)
@@ -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