diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2019-05-23 11:22:44 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2019-05-23 11:22:46 +0200 |
commit | ca8e33aef9c39f52601c20b69ea365abcfe8ae81 (patch) | |
tree | 75eb9bbcc1321080fdcf4e14fffc2a5e66d8c00e /deps/histogram | |
parent | 6e796581fc7863c27722f6d076e2b2b4dac2912e (diff) | |
download | android-node-v8-ca8e33aef9c39f52601c20b69ea365abcfe8ae81.tar.gz android-node-v8-ca8e33aef9c39f52601c20b69ea365abcfe8ae81.tar.bz2 android-node-v8-ca8e33aef9c39f52601c20b69ea365abcfe8ae81.zip |
deps: histogram: unexport symbols
Fixes: https://github.com/nodejs/node-gyp/issues/1755
Fixes: https://github.com/nodejs/node/issues/27778
PR-URL: https://github.com/nodejs/node/pull/27779
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Diffstat (limited to 'deps/histogram')
-rw-r--r-- | deps/histogram/histogram.gyp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/histogram/histogram.gyp b/deps/histogram/histogram.gyp index bcfa198f9d..e3f5fd7a46 100644 --- a/deps/histogram/histogram.gyp +++ b/deps/histogram/histogram.gyp @@ -3,6 +3,10 @@ { 'target_name': 'histogram', 'type': 'static_library', + 'cflags': ['-fvisibility=hidden'], + 'xcode_settings': { + 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden + }, 'include_dirs': ['src'], 'direct_dependent_settings': { 'include_dirs': [ 'src' ] |