summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorBradley T. Hughes <bradleythughes@fastmail.fm>2016-10-16 13:45:33 +0000
committerRod Vagg <rod@vagg.org>2016-10-18 14:20:10 +1100
commita9f4fc905ad65144edb84974c52c9a9b1387ac8b (patch)
tree26355bd546bc8a7373954351053d160eb6709622 /node.gyp
parentd317184f9709bf03674987611b789876323d7b4a (diff)
downloadandroid-node-v8-a9f4fc905ad65144edb84974c52c9a9b1387ac8b.tar.gz
android-node-v8-a9f4fc905ad65144edb84974c52c9a9b1387ac8b.tar.bz2
android-node-v8-a9f4fc905ad65144edb84974c52c9a9b1387ac8b.zip
build: do not define ZLIB_CONST
This define is not available in zlib prior to version 1.2.5.2. See https://github.com/nodejs/node/issues/9110 for details. Workaround the build breakage reported by casting away const in src/inspector_agent.cc instead. PR-URL: https://github.com/nodejs/node/pull/9122 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org>
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 d799ba11b7..fa98547e09 100644
--- a/node.gyp
+++ b/node.gyp
@@ -480,8 +480,6 @@
}],
[ 'node_shared_zlib=="false"', {
'dependencies': [ 'deps/zlib/zlib.gyp:zlib' ],
- }, {
- 'defines': [ 'ZLIB_CONST' ],
}],
[ 'node_shared_http_parser=="false"', {