From 8acfa51a8b3c6011483132c933213231f7a4865b Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 20 Feb 2014 20:06:29 +0100 Subject: Makefile: suppress pkg-config error Signed-off-by: Jason A. Donenfeld --- cgit.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgit.mk b/cgit.mk index 2e2992f..5048b09 100644 --- a/cgit.mk +++ b/cgit.mk @@ -31,7 +31,7 @@ ifdef NO_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 -- cgit 1.4.1