X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/44ccae4227060f91c60ad45de1188e728ce8af0d..ecd6b7230c88deb23f880ee1df75ae4b230cf9ec:/cgit.mk?ds=inline 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