nodejs: Use included zlib

See https://github.com/termux/termux-packages/issues/2922
This commit is contained in:
Fredrik Fornwall 2018-11-18 01:32:30 +01:00
parent 467475b03b
commit 2aef57f7b5
2 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://nodejs.org/ TERMUX_PKG_HOMEPAGE=https://nodejs.org/
TERMUX_PKG_DESCRIPTION="Platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications" TERMUX_PKG_DESCRIPTION="Platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications"
TERMUX_PKG_VERSION=8.12.0 TERMUX_PKG_VERSION=8.12.0
TERMUX_PKG_REVISION=1
TERMUX_PKG_SHA256=5a9dff58016c18fb4bf902d963b124ff058a550ebcd9840c677757387bce419a TERMUX_PKG_SHA256=5a9dff58016c18fb4bf902d963b124ff058a550ebcd9840c677757387bce419a
TERMUX_PKG_SRCURL=https://nodejs.org/dist/v${TERMUX_PKG_VERSION}/node-v${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SRCURL=https://nodejs.org/dist/v${TERMUX_PKG_VERSION}/node-v${TERMUX_PKG_VERSION}.tar.xz
# Note that we do not use a shared libuv to avoid an issue with the Android # Note that we do not use a shared libuv to avoid an issue with the Android
@ -33,7 +34,6 @@ termux_step_configure () {
--dest-os=android \ --dest-os=android \
--shared-cares \ --shared-cares \
--shared-openssl \ --shared-openssl \
--shared-zlib \
--without-inspector \ --without-inspector \
--without-intl \ --without-intl \
--without-snapshot \ --without-snapshot \

View File

@ -1,10 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://nodejs.org/ TERMUX_PKG_HOMEPAGE=https://nodejs.org/
TERMUX_PKG_DESCRIPTION="Platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications" TERMUX_PKG_DESCRIPTION="Platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications"
TERMUX_PKG_VERSION=11.2.0 TERMUX_PKG_VERSION=11.2.0
TERMUX_PKG_REVISION=1
TERMUX_PKG_SHA256=354ee26f20e63ebfbf7bfe4e94cc0bbaa4840a8a3787c564054efb3214379fa6 TERMUX_PKG_SHA256=354ee26f20e63ebfbf7bfe4e94cc0bbaa4840a8a3787c564054efb3214379fa6
TERMUX_PKG_SRCURL=https://nodejs.org/dist/v${TERMUX_PKG_VERSION}/node-v${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SRCURL=https://nodejs.org/dist/v${TERMUX_PKG_VERSION}/node-v${TERMUX_PKG_VERSION}.tar.xz
# Note that we do not use a shared libuv to avoid an issue with the Android
# linker, which does not use symbols of linked shared libraries when resolving
# symbols on dlopen(). See https://github.com/termux/termux-packages/issues/462. # symbols on dlopen(). See https://github.com/termux/termux-packages/issues/462.
TERMUX_PKG_DEPENDS="openssl, c-ares, libicu" TERMUX_PKG_DEPENDS="openssl, c-ares, libicu"
TERMUX_PKG_RM_AFTER_INSTALL="lib/node_modules/npm/html lib/node_modules/npm/make.bat share/systemtap lib/dtrace" TERMUX_PKG_RM_AFTER_INSTALL="lib/node_modules/npm/html lib/node_modules/npm/make.bat share/systemtap lib/dtrace"
@ -38,7 +37,6 @@ termux_step_configure () {
--dest-os=android \ --dest-os=android \
--shared-cares \ --shared-cares \
--shared-openssl \ --shared-openssl \
--shared-zlib \
--without-inspector \ --without-inspector \
--with-intl=system-icu \ --with-intl=system-icu \
--without-snapshot \ --without-snapshot \