node: add v22.x openssl dependence

This commit is contained in:
coolsnowwolf 2024-12-07 16:35:54 +08:00
parent b35738efba
commit 833fc9542c

View File

@ -73,7 +73,7 @@ define Package/node
TITLE:=Node.js is a platform built on Chrome's JavaScript runtime
URL:=https://nodejs.org/
DEPENDS:=@(HAS_FPU||KERNEL_MIPS_FPU_EMULATOR||SOFT_FLOAT) @!arc @!armeb @!powerpc \
+libstdcpp +(NODEJS_18||NODEJS_20):libopenssl +zlib +libnghttp2 +libuv \
+libstdcpp +(NODEJS_18||NODEJS_20||NODEJS_22):libopenssl +zlib +libnghttp2 +libuv \
+libcares +libatomic +NODEJS_ICU_SYSTEM:icu +NODEJS_ICU_SYSTEM:icu-full-data
endef
@ -189,7 +189,7 @@ CONFIGURE_ARGS:= \
--dest-os=linux \
--cross-compiling \
--shared-zlib \
$(if $(CONFIG_NODEJS_18),--shared-openssl) \
--shared-openssl \
--shared-nghttp2 \
--shared-cares \
--with-intl=$(if $(CONFIG_NODEJS_ICU_SMALL),small-icu,$(if $(CONFIG_NODEJS_ICU_SYSTEM),system-icu,none)) \