diff --git a/node.gyp b/node.gyp index fa98547e09..d799ba11b7 100644 --- a/node.gyp +++ b/node.gyp @@ -480,6 +480,8 @@ }], [ 'node_shared_zlib=="false"', { 'dependencies': [ 'deps/zlib/zlib.gyp:zlib' ], + }, { + 'defines': [ 'ZLIB_CONST' ], }], [ 'node_shared_http_parser=="false"', {