Avoid use of link_whole in the gsettings backend35ceabc78bdc09645ca44413243e98199982d2ce
commit35ceabc78bdc09645ca44413243e98199982d2ce
authorEmmanuele Bassi <ebassi@gnome.org>
Sat, 11 Aug 2018 22:48:14 +0000 (11 23:48 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Sat, 11 Aug 2018 22:53:07 +0000 (11 23:53 +0100)
tree252ab5096594c0da05109f7fbf87883c8b01beca
parent3833423bd614769107ea6123cc427221af85e3a6
Avoid use of link_whole in the gsettings backend

The GSettings backend loadable module should not expose any symbol
except for the g_io_module_* ones. By using the internal dependency
objects, we end up using `link_whole` on libdconf-common and
libdconf-gdbus-thread, which means that we now inherit all the symbols
exposed by those static libraries.

We still want to use `link_whole` every time we depend on those static
libraries, but for the GSettings backend module we make an exception,
and use `link_with` with the build targets, instead of the internal
dependencies.

This fixes the `abicheck` test unit.

Reviewed-by: nobody
Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
gsettings/meson.build