diff options
author | Julian Ospald <hasufell@posteo.de> | 2016-06-29 14:27:37 +0200 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2016-07-13 16:52:05 -0500 |
commit | 8bca2cd4b3c710809131ac036456b34c223e8d12 (patch) | |
tree | 242e639245f16e83f56da3e7b25acd8db992761f | |
parent | ac8ad169ae59fece38066c2e08ff57d53d737edd (diff) |
Build: fix hardcoded pkg-config invocation
This fixes #89.
-rw-r--r-- | mk/sys.mk | 1 | ||||
-rw-r--r-- | mk/termcap.mk | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -11,6 +11,7 @@ AR?= ar CP?= cp +PKG_CONFIG?= pkg-config ECHO?= echo INSTALL?= install RANLIB?= ranlib 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 |