Skip to content

Commit

Permalink
deps: hide zlib internal symbols
Browse files Browse the repository at this point in the history
Use HAVE_HIDDEN when compiling zlib so it's internal symbols
have __attribute__((visibility ("hidden"))).
  • Loading branch information
sam-github committed Jan 31, 2017
1 parent 8c68def commit 1ae7920
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deps/zlib/zlib.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@
'.',
],
},
'defines': [
'HAVE_HIDDEN',
],
'conditions': [
['OS!="win"', {
'cflags!': [ '-ansi' ],
Expand Down

0 comments on commit 1ae7920

Please sign in to comment.