diff options
-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 |