mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof-capture: set symbol visibility to hidden
This commit is contained in:
@ -35,12 +35,15 @@ libsysprof_capture_deps = [
|
|||||||
|
|
||||||
install_headers(libsysprof_capture_headers, subdir: sysprof_header_subdir)
|
install_headers(libsysprof_capture_headers, subdir: sysprof_header_subdir)
|
||||||
|
|
||||||
libsysprof_capture = static_library('sysprof-capture-@0@'.format(libsysprof_api_version),
|
libsysprof_capture = static_library(
|
||||||
|
'sysprof-capture-@0@'.format(libsysprof_api_version),
|
||||||
libsysprof_capture_sources,
|
libsysprof_capture_sources,
|
||||||
|
|
||||||
dependencies: libsysprof_capture_deps,
|
dependencies: libsysprof_capture_deps,
|
||||||
c_args: [ '-DSYSPROF_CAPTURE_COMPILATION' ],
|
c_args: [ '-DSYSPROF_CAPTURE_COMPILATION' ],
|
||||||
install_dir: get_option('libdir'),
|
install_dir: get_option('libdir'),
|
||||||
install: true,
|
install: true,
|
||||||
|
gnu_symbol_visibility: 'hidden',
|
||||||
)
|
)
|
||||||
|
|
||||||
libsysprof_capture_dep = declare_dependency(
|
libsysprof_capture_dep = declare_dependency(
|
||||||
|
|||||||
Reference in New Issue
Block a user