From 9a52e173b55e0ee2d10f93ea80017174324ca7a2 Mon Sep 17 00:00:00 2001 From: Martin Bark Date: Thu, 14 Mar 2019 13:38:13 +0000 Subject: [PATCH] package/nodejs: use shared nghttp2 library Signed-off-by: Martin Bark Signed-off-by: Thomas Petazzoni --- package/nodejs/Config.in | 1 + package/nodejs/nodejs.mk | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package/nodejs/Config.in b/package/nodejs/Config.in index ed6225b08e..ad31f7ec27 100644 --- a/package/nodejs/Config.in +++ b/package/nodejs/Config.in @@ -30,6 +30,7 @@ config BR2_PACKAGE_NODEJS select BR2_PACKAGE_LIBHTTPPARSER select BR2_PACKAGE_LIBUV select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_NGHTTP2 help Event-driven I/O server-side JavaScript environment based on V8. diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk index ef34b269f6..5cae449244 100644 --- a/package/nodejs/nodejs.mk +++ b/package/nodejs/nodejs.mk @@ -8,7 +8,7 @@ NODEJS_VERSION = 10.15.3 NODEJS_SOURCE = node-v$(NODEJS_VERSION).tar.xz NODEJS_SITE = http://nodejs.org/dist/v$(NODEJS_VERSION) NODEJS_DEPENDENCIES = host-python host-nodejs c-ares \ - libhttpparser libuv zlib \ + libhttpparser libuv zlib nghttp2 \ $(call qstrip,$(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL_DEPS)) HOST_NODEJS_DEPENDENCIES = host-libopenssl host-python host-zlib host-patchelf NODEJS_LICENSE = MIT (core code); MIT, Apache and BSD family licenses (Bundled components) @@ -20,6 +20,7 @@ NODEJS_CONF_OPTS = \ --shared-cares \ --shared-http-parser \ --shared-libuv \ + --shared-nghttp2 \ --without-dtrace \ --without-etw \ --dest-os=linux -- 2.30.2