aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Martin Bark <martin@barkynet.com>2019-03-14 13:38:13 +0000
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-03-15 22:16:58 +0100
commit9a52e173b55e0ee2d10f93ea80017174324ca7a2 (patch)
treeb35b34fc0d96cb3f03d13e0b29a48546effee7fa
parentbd52cb76b050ceb4566982c7cb6001358ebf188d (diff)
downloadbuildroot-9a52e173b55e0ee2d10f93ea80017174324ca7a2.tar.gz
buildroot-9a52e173b55e0ee2d10f93ea80017174324ca7a2.tar.bz2
package/nodejs: use shared nghttp2 library
Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/nodejs/Config.in1
-rw-r--r--package/nodejs/nodejs.mk3
2 files changed, 3 insertions, 1 deletions
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