From 40effd174b66e5f426c3e66f291d241c9be0b611 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Wed, 15 Jul 2026 09:19:34 -1000 Subject: Let cgit build with or without Lua Lua only powers the filter extensions, so it stays optional and autodetected. Autodetection skipped Lua 5.3 and 5.4, so a system with only those fell back to a build without Lua. The release script still leaves Lua out unless asked, so its binary needs no Lua at runtime. --- 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 2.12.1