[PATCH] Allow use of lua5.4 or lua5.3 too.

Unit 193 unit193 at unit193.net
Fri Mar 12 06:41:47 UTC 2021


---
 cgit.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cgit.mk b/cgit.mk
index 3fcc1ca..c173703 100644
--- a/cgit.mk
+++ b/cgit.mk
@@ -32,7 +32,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
-- 
2.20.1



More information about the CGit mailing list