diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2018-08-11 23:13:36 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2018-08-11 23:16:08 +0100 |
commit | 2a7f31b6fb5669e5d41dcbf8ef3d8f3e982932ea (patch) | |
tree | 70920e7e19aa49bbca10c28ccef076afb9cddb14 /common | |
parent | 20223ed7dab543caeb075ec9f2b7cfbda5e0bec0 (diff) | |
download | dconf-2a7f31b6fb5669e5d41dcbf8ef3d8f3e982932ea.tar.gz |
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>
Diffstat (limited to 'common')
-rw-r--r-- | common/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/meson.build b/common/meson.build index 6cf38b5..90245b7 100644 --- a/common/meson.build +++ b/common/meson.build @@ -30,7 +30,7 @@ libdconf_common = static_library( libdconf_common_dep = declare_dependency( dependencies: glib_dep, - link_with: libdconf_common, + link_whole: libdconf_common, ) cflags += cc.get_supported_arguments('-fvisibility=hidden') |