0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-28 22:46:31 +01:00
nodejs/deps/histogram/histogram.gyp
Ben Noordhuis ca8e33aef9 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>
2019-05-23 11:22:46 +02:00

20 lines
414 B
Python

{
'targets': [
{
'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' ]
},
'sources': [
'src/hdr_histogram.c',
]
}
]
}