diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-05-17 15:42:37 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-05-17 15:42:37 -0400 |
commit | 63aa9e7e3ab28ad5362502b1a69fae945367ad65 (patch) | |
tree | f80589fc077c3b652de6e8797dbc23c203361a50 /tools/perf/Makefile | |
parent | edb7c60e27c1baff38d82440dc52eaffac9a45f4 (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/perf/Makefile')
-rw-r--r-- | tools/perf/Makefile | 2 |
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 | |||
564 | else | 564 | else |
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 |
569 | endif | 569 | endif |
570 | 570 | ||