From e0e531b86c7d201c4e935053a19d3c97ea9cbdaa Mon Sep 17 00:00:00 2001 From: Florian Wagner Date: Thu, 8 Oct 2026 10:34:06 +0200 Subject: [PATCH] nginx: only build luajit2 if required On some systems luajit2 will not build. When compiling the nginx packages it was being pulled in as a dependency even if no nginx subpackage that requires it was selected and thus building nginx failed. This change will only pull in the dependency conditionally. Signed-off-by: Florian Wagner --- net/nginx/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/nginx/Makefile b/net/nginx/Makefile index a7f4e04be4..825be29dd3 100644 --- a/net/nginx/Makefile +++ b/net/nginx/Makefile @@ -233,7 +233,7 @@ endef define Package/nginx-mod-lua-resty-lrucache $(call Package/nginx/default) TITLE:=Nginx Lua OpenResty lrucache module - DEPENDS:=@HAS_LUAJIT_ARCH +luajit2 + DEPENDS:=@HAS_LUAJIT_ARCH +PACKAGE_nginx-mod-lua-resty-lrucache:luajit2 endef define Package/nginx-mod-lua-resty-core