mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
build: don't build deps/zlib if --shared-zlib set
Even if the --shared-zlib flag was used, the bundled deps/zlib was still being compiled into the binary as it was required by the C++ test suite. PR-URL: https://github.com/nodejs/node/pull/10657 Fixes: https://github.com/nodejs/node/issues/10649 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
1 parent
e3a316f3e6
commit
9c2f686f7e
1 file changed
+5
-1
@@ -900,7 +900,6 @@
|
||||
'HAVE_INSPECTOR=1',
|
||||
],
|
||||
'dependencies': [
|
||||
'deps/zlib/zlib.gyp:zlib',
|
||||
'v8_inspector_compress_protocol_json#host'
|
||||
],
|
||||
'include_dirs': [
|
||||
@@ -913,6 +912,11 @@
|
||||
'test/cctest/test_inspector_socket_server.cc'
|
||||
],
|
||||
'conditions': [
|
||||
[ 'node_shared_zlib=="false"', {
|
||||
'dependencies': [
|
||||
'deps/zlib/zlib.gyp:zlib',
|
||||
]
|
||||
}],
|
||||
[ 'node_shared_openssl=="false"', {
|
||||
'dependencies': [
|
||||
'deps/openssl/openssl.gyp:openssl'
|
||||
|
||||
Reference in new issue
Block a user