Use the correct Meson argument for linking2a7f31b6fb5669e5d41dcbf8ef3d8f3e982932ea
commit2a7f31b6fb5669e5d41dcbf8ef3d8f3e982932ea
authorEmmanuele Bassi <ebassi@gnome.org>
Sat, 11 Aug 2018 22:13:36 +0000 (11 23:13 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Sat, 11 Aug 2018 22:16:08 +0000 (11 23:16 +0100)
tree70920e7e19aa49bbca10c28ccef076afb9cddb14
parent20223ed7dab543caeb075ec9f2b7cfbda5e0bec0
Use the correct Meson argument for linking

Some of the internal static libraries in dconf implement public symbols.
This means that they must be linked using `link_whole`, to prevent the
linker from hiding unused symbols in there when building the shared
libdconf.so.

This fixes the build of projects using the dconf API directly, like
dconf-editor, in GNOME Continuous.

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