From dd4f4fe45b669932b909dcfe7e362ffc2f2de7e0 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 (cherry picked from commit 9a52e173b55e0ee2d10f93ea80017174324ca7a2) Signed-off-by: Peter Korsgaard --- 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 d2846f8d57..e995441304 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 06d2eaad99..b4e9351c63 100644 --- a/package/nodejs/nodejs.mk +++ b/package/nodejs/nodejs.mk @@ -8,7 +8,7 @@ NODEJS_VERSION = 8.15.1 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 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