mirror of
https://github.com/openwrt/packages.git
synced 2026-12-03 20:05:37 +04:00
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 <florian@wagner-flo.de>
This commit is contained in:
1 parent
d7d5343b4c
commit
e0e531b86c
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user