the repository which powers this website
Makefile: suppress pkg-config error
Signed-off-by: Jason A. Donenfeld <[email protected]>
Jason A. Donenfeld 2014-02-21
parent a3722ec · commit 8acfa51
-rw-r--r--cgit.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgit.mk b/cgit.mk
index 2e2992f3..5048b09a 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