all repos — cgit @ 8acfa51a8b3c6011483132c933213231f7a4865b

a hyperfast web frontend for git written in c

Makefile: suppress pkg-config error

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Jason A. Donenfeld Jason@zx2c4.com
Thu, 20 Feb 2014 20:06:29 +0100
commit

8acfa51a8b3c6011483132c933213231f7a4865b

parent

a3722ec3c6660ace9fe637d617a0ca225acfacbc

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M cgit.mkcgit.mk

@@ -31,7 +31,7 @@ CGIT_CFLAGS += -DNO_LUA

else ifeq ($(LUA_PKGCONFIG),) LUA_PKGCONFIG := $(shell for pc in luajit lua lua5.2 lua5.1; do \ - pkg-config --exists $$pc && echo $$pc && break; \ + pkg-config --exists $$pc 2>/dev/null && echo $$pc && break; \ done) LUA_MODE := autodetected else