You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.1 KiB

  1. From 0f1653c82a06567ccb151e17f1fe3ff3c3b465f3 Mon Sep 17 00:00:00 2001
  2. From: Toni Uhlig <matzeton@googlemail.com>
  3. Date: Mon, 18 May 2020 20:27:32 +0200
  4. Subject: [PATCH] removed flowtop pkg-config usage for ncurses
  5. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
  6. ---
  7. flowtop/Makefile | 6 ++----
  8. 1 file changed, 2 insertions(+), 4 deletions(-)
  9. --- a/flowtop/Makefile
  10. +++ b/flowtop/Makefile
  11. @@ -1,7 +1,6 @@
  12. flowtop-libs = -lurcu \
  13. $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs libnetfilter_conntrack 2> /dev/null ) \
  14. - $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs ncurses 2> /dev/null \
  15. - || echo '-lncurses') \
  16. + -lncurses \
  17. $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs tinfo 2> /dev/null ) \
  18. -lpthread
  19. @@ -30,8 +29,7 @@ flowtop-objs += geoip.o \
  20. ioops.o
  21. endif
  22. -flowtop-eflags = $(shell $(PKG_CONFIG) --cflags ncurses) \
  23. - $(shell $(PKG_CONFIG) --cflags libnetfilter_conntrack)
  24. +flowtop-eflags = $(shell $(PKG_CONFIG) --cflags libnetfilter_conntrack)
  25. flowtop-confs = tcp.conf \
  26. udp.conf \