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.

36 lines
1.2 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. diff --git a/flowtop/Makefile b/flowtop/Makefile
  10. index e001ce8..aeee049 100644
  11. --- a/flowtop/Makefile
  12. +++ b/flowtop/Makefile
  13. @@ -1,7 +1,6 @@
  14. flowtop-libs = -lurcu \
  15. $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs libnetfilter_conntrack 2> /dev/null ) \
  16. - $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs ncurses 2> /dev/null \
  17. - || echo '-lncurses') \
  18. + -lncurses \
  19. $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs tinfo 2> /dev/null ) \
  20. -lpthread
  21. @@ -30,8 +29,7 @@ flowtop-objs += geoip.o \
  22. ioops.o
  23. endif
  24. -flowtop-eflags = $(shell $(PKG_CONFIG) --cflags ncurses) \
  25. - $(shell $(PKG_CONFIG) --cflags libnetfilter_conntrack)
  26. +flowtop-eflags = $(shell $(PKG_CONFIG) --cflags libnetfilter_conntrack)
  27. flowtop-confs = tcp.conf \
  28. udp.conf \
  29. --
  30. 2.20.1