Makefile: suppress pkg-config error

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2014-02-20 20:06:29 +01:00
부모 a3722ec3c6
커밋 8acfa51a8b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@ -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