mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
node: use system libnghttp2 libuv libhttp-parser
Use the openwrt system libraries instead of the ones bundled with node. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
This commit is contained in:
committed by
Yousong Zhou
parent
cb6fc9d7a9
commit
fc4bc242cc
+5
-2
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=node
|
PKG_NAME:=node
|
||||||
PKG_VERSION:=v8.12.0
|
PKG_VERSION:=v8.12.0
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
PKG_SOURCE:=node-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=node-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=https://nodejs.org/dist/${PKG_VERSION}
|
PKG_SOURCE_URL:=https://nodejs.org/dist/${PKG_VERSION}
|
||||||
PKG_HASH:=5a9dff58016c18fb4bf902d963b124ff058a550ebcd9840c677757387bce419a
|
PKG_HASH:=5a9dff58016c18fb4bf902d963b124ff058a550ebcd9840c677757387bce419a
|
||||||
@@ -37,7 +37,7 @@ define Package/node
|
|||||||
SUBMENU:=Node.js
|
SUBMENU:=Node.js
|
||||||
TITLE:=Node.js is a platform built on Chrome's JavaScript runtime
|
TITLE:=Node.js is a platform built on Chrome's JavaScript runtime
|
||||||
URL:=https://nodejs.org/
|
URL:=https://nodejs.org/
|
||||||
DEPENDS:=@(HAS_FPU||KERNEL_MIPS_FPU_EMULATOR) +libstdcpp +libopenssl +zlib +USE_UCLIBC:libpthread +USE_UCLIBC:librt +NODEJS_ICU:icu
|
DEPENDS:=@(HAS_FPU||KERNEL_MIPS_FPU_EMULATOR) +libstdcpp +libopenssl +zlib +libnghttp2 +libuv +libhttp-parser +USE_UCLIBC:libpthread +USE_UCLIBC:librt +NODEJS_ICU:icu
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/node/description
|
define Package/node/description
|
||||||
@@ -86,6 +86,9 @@ CONFIGURE_ARGS:= \
|
|||||||
--without-snapshot \
|
--without-snapshot \
|
||||||
--shared-zlib \
|
--shared-zlib \
|
||||||
--shared-openssl \
|
--shared-openssl \
|
||||||
|
--shared-nghttp2 \
|
||||||
|
--shared-libuv \
|
||||||
|
--shared-http-parser \
|
||||||
--with-intl=$(if $(CONFIG_NODEJS_ICU),system-icu,none) \
|
--with-intl=$(if $(CONFIG_NODEJS_ICU),system-icu,none) \
|
||||||
$(if $(findstring mips,$(NODEJS_CPU)), \
|
$(if $(findstring mips,$(NODEJS_CPU)), \
|
||||||
$(if $(CONFIG_SOFT_FLOAT),--with-mips-float-abi=soft)) \
|
$(if $(CONFIG_SOFT_FLOAT),--with-mips-float-abi=soft)) \
|
||||||
|
|||||||
Reference in New Issue
Block a user