diff --git a/deps/histogram/histogram.gyp b/deps/histogram/histogram.gyp index bcfa198f9d37c1..e3f5fd7a46bb72 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' ]