Makefile: suppress pkg-config error
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
a3722ec3c6
commit
8acfa51a8b
2
cgit.mk
2
cgit.mk
@ -31,7 +31,7 @@ ifdef NO_LUA
|
|||||||
else
|
else
|
||||||
ifeq ($(LUA_PKGCONFIG),)
|
ifeq ($(LUA_PKGCONFIG),)
|
||||||
LUA_PKGCONFIG := $(shell for pc in luajit lua lua5.2 lua5.1; do \
|
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)
|
done)
|
||||||
LUA_MODE := autodetected
|
LUA_MODE := autodetected
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user