Commit 588d7c17 authored by Corentin Noël's avatar Corentin Noël

Add symbol visibility map

parent 9248bafc
Pipeline #29628373 passed with stages
in 22 minutes and 41 seconds
{
global:
signon_*;
local:
*;
};
......@@ -87,6 +87,7 @@ libsignon_glib_deps = [
gobject_dep,
]
symbols_map = 'libsignon-glib.map'
libsignon_glib_lib = shared_library(
'signon-glib',
libsignon_glib_public_headers,
......@@ -100,6 +101,11 @@ libsignon_glib_lib = shared_library(
signon_errors_map,
dependencies: libsignon_glib_deps,
include_directories: root_dir,
link_args : [
'-Wl,--no-undefined',
'-Wl,--version-script,' + join_paths(meson.current_source_dir(), symbols_map)
],
link_depends : symbols_map,
soversion: '1',
version: '1.0.0',
install: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment