Codebase list openrc / 8bca2cd
Build: fix hardcoded pkg-config invocation This fixes #89. Julian Ospald authored 7 years ago William Hubbs committed 7 years ago
2 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
1010
1111 AR?= ar
1212 CP?= cp
13 PKG_CONFIG?= pkg-config
1314 ECHO?= echo
1415 INSTALL?= install
1516 RANLIB?= ranlib
00 ifeq (${MKTERMCAP},ncurses)
1 TERMCAP_CFLAGS:= $(shell pkg-config ncurses --cflags 2> /dev/null)
2 LTERMCAP:= $(shell pkg-config ncurses --libs 2> /dev/null)
1 TERMCAP_CFLAGS:= $(shell ${PKG_CONFIG} ncurses --cflags 2> /dev/null)
2 LTERMCAP:= $(shell ${PKG_CONFIG} ncurses --libs 2> /dev/null)
33 ifeq ($(LTERMCAP),)
44 LIBTERMCAP?= -lncurses
55 else