From c32f477ff735d4dfb7b61b68967721306ab0935c Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Wed, 15 Jul 2026 07:19:00 -1000 Subject: 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. --- source/cgit.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cgit.mk') 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 -- cgit v2.8.0