summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeguh <info@egeektronic.com>2013-11-23 13:18:14 +0700
committerTobias Klauser <tklauser@distanz.ch>2013-11-24 15:50:50 +0100
commitec90bd153699f3478e213712d7f952a21889e2ef (patch)
tree6d44c2ce44b81a5ae86b4e347ec0a851756f5e90
parentc13d7d7f49b5cf4218b2a3ce0c2480015b2c9eef (diff)
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 <info@egeektronic.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r--flowtop/Makefile1
-rw-r--r--ifpps/Makefile3
2 files changed, 3 insertions, 1 deletions
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 \