summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2019-05-23 11:22:44 +0200
committerMichaƫl Zasso <targos@protonmail.com>2019-05-23 16:15:28 +0200
commit3b6424fa29bbf2f9d1cee65f1bed4be033cbbc8e (patch)
tree4e4f3baa6e5505998f80bfee919d884a9be2387e /deps
parent4716caa12e1ca61c8cb66a494499ad8c8370903b (diff)
downloadandroid-node-v8-3b6424fa29bbf2f9d1cee65f1bed4be033cbbc8e.tar.gz
android-node-v8-3b6424fa29bbf2f9d1cee65f1bed4be033cbbc8e.tar.bz2
android-node-v8-3b6424fa29bbf2f9d1cee65f1bed4be033cbbc8e.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')
-rw-r--r--deps/histogram/histogram.gyp4
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' ]