diff options
author | Bradley T. Hughes <bradleythughes@fastmail.fm> | 2016-10-16 13:45:33 +0000 |
---|---|---|
committer | Rod Vagg <rod@vagg.org> | 2016-10-18 14:20:10 +1100 |
commit | a9f4fc905ad65144edb84974c52c9a9b1387ac8b (patch) | |
tree | 26355bd546bc8a7373954351053d160eb6709622 /node.gyp | |
parent | d317184f9709bf03674987611b789876323d7b4a (diff) | |
download | android-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.gyp | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -480,8 +480,6 @@ }], [ 'node_shared_zlib=="false"', { 'dependencies': [ 'deps/zlib/zlib.gyp:zlib' ], - }, { - 'defines': [ 'ZLIB_CONST' ], }], [ 'node_shared_http_parser=="false"', { |