summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2017-09-20 11:43:48 +0200
committerRuben Bridgewater <ruben@bridgewater.de>2017-09-24 12:17:03 -0300
commit3c777bb37f33b1fc6c6d1df4fe5a27d7519935fd (patch)
tree361c3d823bfb479bfcfdb7559601d6ddcaa3aab5 /node.gyp
parenta406a32ee979ff91a23c815cdb25f43e4dbd3752 (diff)
downloadnode-new-3c777bb37f33b1fc6c6d1df4fe5a27d7519935fd.tar.gz
deps: define BUILDING_NGHTTP2 during nghttp2 build
Define BUILDING_NGHTTP2 in order that NGHTTP2_EXTERN is properly defined when building the nghttp2 static library. Move NGHTTP2_STATICLIB out of node.gyp because it is a property of the nghttp2 static library, not the node executable. PR-URL: https://github.com/nodejs/node/pull/15487 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp2
1 files changed, 0 insertions, 2 deletions
diff --git a/node.gyp b/node.gyp
index 911e3218aa..338b7f324e 100644
--- a/node.gyp
+++ b/node.gyp
@@ -301,8 +301,6 @@
'NODE_WANT_INTERNALS=1',
# Warn when using deprecated V8 APIs.
'V8_DEPRECATION_WARNINGS=1',
- # We're using the nghttp2 static lib
- 'NGHTTP2_STATICLIB'
],
},
{