Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.zx2c4.com/cgit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-02-20 23:06:29 +0400
committerJason A. Donenfeld <Jason@zx2c4.com>2014-02-20 23:06:29 +0400
commit8acfa51a8b3c6011483132c933213231f7a4865b (patch)
tree35962f3ad13ad4c874335a8c7ba47d6b9e754489
parenta3722ec3c6660ace9fe637d617a0ca225acfacbc (diff)
Makefile: suppress pkg-config error
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--cgit.mk2
1 files changed, 1 insertions, 1 deletions
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