diff options
-rw-r--r-- | cgit.mk | 2 |
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 | |||
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 |