diff options
author | Ed Schouten <ed@nuxi.nl> | 2017-11-06 09:59:01 +0100 |
---|---|---|
committer | Refael Ackermann <refack@gmail.com> | 2017-11-20 14:25:33 -0500 |
commit | 336af9ac1f365818a5c12a67b69b72346fb37017 (patch) | |
tree | fb7763fb6a7f17705860a9dd865461d9d55f71b1 /node.gypi | |
parent | ad1967d656b1f7462709c49a0f57444917260f3a (diff) | |
download | android-node-v8-336af9ac1f365818a5c12a67b69b72346fb37017.tar.gz android-node-v8-336af9ac1f365818a5c12a67b69b72346fb37017.tar.bz2 android-node-v8-336af9ac1f365818a5c12a67b69b72346fb37017.zip |
build: Allow linking against an external copy of nghttp2.
The version of nghttp2 in deps/ does not build on CloudABI, even though
the official version does. Though this is an issue on its own that needs
to be resolved, it is currently a bit hard to work around this. There is
no switch to link against an external version of nghttp2, even though we
do provide this option for other libraries.
This change adds configure flags, similar to the ones we have for
OpenSSL, zlib, http_parser, libuv, etc. and makes the dependency on
deps/nghttp2 optional.
PR-URL: https://github.com/nodejs/node/pull/16788
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'node.gypi')
-rw-r--r-- | node.gypi | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -133,6 +133,10 @@ 'dependencies': [ 'deps/uv/uv.gyp:libuv' ], }], + [ 'node_shared_nghttp2=="false"', { + 'dependencies': [ 'deps/nghttp2/nghttp2.gyp:nghttp2' ], + }], + [ 'OS=="mac"', { # linking Corefoundation is needed since certain OSX debugging tools # like Instruments require it for some features |