aboutsummaryrefslogtreecommitdiff
path: root/mk/termcap.mk
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@posteo.de>2016-06-29 14:27:37 +0200
committerWilliam Hubbs <w.d.hubbs@gmail.com>2016-07-13 16:52:05 -0500
commit8bca2cd4b3c710809131ac036456b34c223e8d12 (patch)
tree242e639245f16e83f56da3e7b25acd8db992761f /mk/termcap.mk
parentac8ad169ae59fece38066c2e08ff57d53d737edd (diff)
Build: fix hardcoded pkg-config invocation
This fixes #89.
Diffstat (limited to 'mk/termcap.mk')
-rw-r--r--mk/termcap.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/termcap.mk b/mk/termcap.mk
index 2d6ad01b..4890e35a 100644
--- a/mk/termcap.mk
+++ b/mk/termcap.mk
@@ -1,6 +1,6 @@
ifeq (${MKTERMCAP},ncurses)
-TERMCAP_CFLAGS:= $(shell pkg-config ncurses --cflags 2> /dev/null)
-LTERMCAP:= $(shell pkg-config ncurses --libs 2> /dev/null)
+TERMCAP_CFLAGS:= $(shell ${PKG_CONFIG} ncurses --cflags 2> /dev/null)
+LTERMCAP:= $(shell ${PKG_CONFIG} ncurses --libs 2> /dev/null)
ifeq ($(LTERMCAP),)
LIBTERMCAP?= -lncurses
else