deps: hide zlib internal symbols
Use HAVE_HIDDEN when compiling zlib so it's internal symbols have __attribute__((visibility ("hidden"))). PR-URL: https://github.com/nodejs/node/pull/11082 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
This commit is contained in:
parent
58dc229d9a
commit
c9e5178f3c
2
deps/zlib/zlib.gyp
vendored
2
deps/zlib/zlib.gyp
vendored
@ -51,7 +51,7 @@
|
||||
'conditions': [
|
||||
['OS!="win"', {
|
||||
'cflags!': [ '-ansi' ],
|
||||
'defines': [ 'Z_HAVE_UNISTD_H' ],
|
||||
'defines': [ 'Z_HAVE_UNISTD_H', 'HAVE_HIDDEN' ],
|
||||
}],
|
||||
['OS=="mac" or OS=="ios" or OS=="freebsd" or OS=="android"', {
|
||||
# Mac, Android and the BSDs don't have fopen64, ftello64, or
|
||||
|
Loading…
x
Reference in New Issue
Block a user