From 8bca2cd4b3c710809131ac036456b34c223e8d12 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Wed, 29 Jun 2016 14:27:37 +0200 Subject: Build: fix hardcoded pkg-config invocation This fixes #89. --- mk/termcap.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk/termcap.mk') 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 -- cgit v1.2.3