From 1b3663362de5d04071b03712ce25cb07bc1cf34d Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 8 May 2019 10:14:49 -0700 Subject: [PATCH] libsysprof-capture: set symbol visibility to hidden --- src/libsysprof-capture/meson.build | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/libsysprof-capture/meson.build b/src/libsysprof-capture/meson.build index 529440d5..a67191e4 100644 --- a/src/libsysprof-capture/meson.build +++ b/src/libsysprof-capture/meson.build @@ -35,12 +35,15 @@ libsysprof_capture_deps = [ 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, - dependencies: libsysprof_capture_deps, - c_args: [ '-DSYSPROF_CAPTURE_COMPILATION' ], - install_dir: get_option('libdir'), - install: true, + + dependencies: libsysprof_capture_deps, + c_args: [ '-DSYSPROF_CAPTURE_COMPILATION' ], + install_dir: get_option('libdir'), + install: true, + gnu_symbol_visibility: 'hidden', ) libsysprof_capture_dep = declare_dependency(