summaryrefslogtreecommitdiff
blob: cb2b7a35887d7c4f2c0176c3bbcc855fbda22ffa (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 # add -I/usr/pkg/include and -L/usr/pkg/lib to the options
 # below.
 CFLAGS+=-std=c99 -pedantic -Wall -Wextra
-LDLIBS=-lncurses
+LDLIBS=$(shell $(PKG_CONFIG) --libs ncurses)
 
 BIN=nbwmon