--- 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)