Skip to content

Commit 1ae7920

Browse files
committed
deps: hide zlib internal symbols
Use HAVE_HIDDEN when compiling zlib so it's internal symbols have __attribute__((visibility ("hidden"))).
1 parent 8c68def commit 1ae7920

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

deps/zlib/zlib.gyp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@
4848
'.',
4949
],
5050
},
51+
'defines': [
52+
'HAVE_HIDDEN',
53+
],
5154
'conditions': [
5255
['OS!="win"', {
5356
'cflags!': [ '-ansi' ],

0 commit comments

Comments
 (0)