From ec90bd153699f3478e213712d7f952a21889e2ef Mon Sep 17 00:00:00 2001 From: Teguh Date: Sat, 23 Nov 2013 13:18:14 +0700 Subject: ifpps, flowtop: Fix DSO ncurses terminal interface linking problem Add LDFLAGS for libtinfo for cases where it is separate from ncurses. [tklauser: Whitespace fixes in ifpps/Makefile and added patch description] Signed-off-by: Teguh Signed-off-by: Tobias Klauser --- flowtop/Makefile | 1 + ifpps/Makefile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/flowtop/Makefile b/flowtop/Makefile index 32fb4bd..b668726 100644 --- a/flowtop/Makefile +++ b/flowtop/Makefile @@ -2,6 +2,7 @@ flowtop-libs = -lGeoIP \ -lurcu \ -lnetfilter_conntrack \ $(shell pkg-config --libs ncurses) \ + $(shell pkg-config --libs tinfo) \ -lpthread \ -lz diff --git a/ifpps/Makefile b/ifpps/Makefile index 81100db..e095d27 100644 --- a/ifpps/Makefile +++ b/ifpps/Makefile @@ -1,4 +1,5 @@ -ifpps-libs = $(shell pkg-config --libs ncurses) +ifpps-libs = $(shell pkg-config --libs ncurses) \ + $(shell pkg-config --libs tinfo) ifpps-objs = xmalloc.o \ ioops.o \ -- cgit v1.2.3-54-g00ecf