diff options
author | Iñigo Martínez <inigomartinez@gmail.com> | 2018-08-13 23:52:05 +0200 |
---|---|---|
committer | Daniel Playfair Cal <daniel.playfair.cal@gmail.com> | 2020-12-19 12:15:21 +1100 |
commit | 7526617ab25d314f646c5ae874197b8846de2a64 (patch) | |
tree | 2beda3ec7b84ac7220bf24dff9814cc594f6abb0 /common | |
parent | f441731684fefd91186955587bc4210191cba665 (diff) | |
download | dconf-7526617ab25d314f646c5ae874197b8846de2a64.tar.gz |
build: Remove libdconf-common-hidden
`libdconf-common-hidden` is built to hide symbols not necessary
in the `gsettings` gio module that only needs to expose
`g_io_module_[load|query|unload]` symbols.
To achieve this a symbol map along with `version-script` linker flag
is used. Thanks to this only the necessary symbols are exposed,
building `libdconf-common-hidden` static library is not necessary
anymore and the existing dependencies can be used.
Diffstat (limited to 'common')
-rw-r--r-- | common/meson.build | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/common/meson.build b/common/meson.build index 61af2f9..befa9bc 100644 --- a/common/meson.build +++ b/common/meson.build @@ -30,17 +30,3 @@ libdconf_common_dep = declare_dependency( dependencies: glib_dep, link_with: libdconf_common, ) - -libdconf_common_hidden = static_library( - 'dconf-common-hidden', - sources: sources, - include_directories: top_inc, - dependencies: glib_dep, - c_args: dconf_c_args + cc.get_supported_arguments('-fvisibility=hidden'), - pic: true, -) - -libdconf_common_hidden_dep = declare_dependency( - dependencies: glib_dep, - link_with: libdconf_common_hidden, -) |