diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-02-21 04:06:29 (JST) |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-02-21 04:06:29 (JST) |
commit | 8acfa51a8b3c6011483132c933213231f7a4865b (patch) | |
tree | 35962f3ad13ad4c874335a8c7ba47d6b9e754489 | |
parent | a3722ec3c6660ace9fe637d617a0ca225acfacbc (diff) | |
download | cgit-8acfa51a8b3c6011483132c933213231f7a4865b.zip cgit-8acfa51a8b3c6011483132c933213231f7a4865b.tar.gz |
Makefile: suppress pkg-config error
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | cgit.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -31,7 +31,7 @@ ifdef NO_LUA | |||
31 | else | 31 | else |
32 | ifeq ($(LUA_PKGCONFIG),) | 32 | ifeq ($(LUA_PKGCONFIG),) |
33 | LUA_PKGCONFIG := $(shell for pc in luajit lua lua5.2 lua5.1; do \ | 33 | LUA_PKGCONFIG := $(shell for pc in luajit lua lua5.2 lua5.1; do \ |
34 | pkg-config --exists $$pc && echo $$pc && break; \ | 34 | pkg-config --exists $$pc 2>/dev/null && echo $$pc && break; \ |
35 | done) | 35 | done) |
36 | LUA_MODE := autodetected | 36 | LUA_MODE := autodetected |
37 | else | 37 | else |