gentoo-overlay/net-analyzer/bwmon/files/bwmon-1.3-tinfo.patch

11 lines
242 B
Diff

--- a/src/Makefile
+++ b/src/Makefile
@@ -11,7 +11,7 @@
INSTALL = install
CFLAGS += -I../include -Wall -D__THREADS
-LIBS = -lpthread -lncurses
+LIBS = -lpthread $(shell ${PKG_CONFIG} --libs ncurses)
SRC = bwmon.c
OBJS = $(SRC:.c=.o)