diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Let cgit build with or without Lua
Lua only powers the filter extensions, so it stays optional and autodetected. `NO_LUA` yields a self-contained binary and the release script links Lua only when asked to.
Diffstat (limited to 'source/cgit.mk')
-rw-r--r--source/cgit.mk2
1 file changed, 1 insertion, 1 deletion
diff --git a/source/cgit.mk b/source/cgit.mk
index d012349..1e5b5e1 100644
--- a/source/cgit.mk
+++ b/source/cgit.mk
@@ -40,7 +40,7 @@ ifdef NO_LUA
CGIT_CFLAGS += -DNO_LUA
else
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.4 lua5.3 lua5.2 lua5.1; do \
$(PKG_CONFIG) --exists $$pc 2>/dev/null && echo $$pc && break; \
done)
LUA_MODE := autodetected