[sysprof] libsysprof-capture: set symbol visibility to hidden



commit 1b3663362de5d04071b03712ce25cb07bc1cf34d
Author: Christian Hergert <chergert redhat com>
Date:   Wed May 8 10:14:49 2019 -0700

    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 529440d..a67191e 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(


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]