package/nodejs: use shared nghttp2 library
authorMartin Bark <martin@barkynet.com>
Thu, 14 Mar 2019 13:38:13 +0000 (13:38 +0000)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 15 Mar 2019 21:16:58 +0000 (22:16 +0100)
Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/nodejs/Config.in
package/nodejs/nodejs.mk

index ed6225b08efb7f66c2f44f2b573981f5a77a07e9..ad31f7ec2755aa3c67f3a245896e8cbde5dfd719 100644 (file)
@@ -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.
index ef34b269f6cfc81e13b0905000bdba5f5ef52515..5cae4492449664025a9be07e1266f4a3bad7529d 100644 (file)
@@ -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