diff options
author | Iñigo Martínez <inigomartinez@gmail.com> | 2018-04-10 22:50:31 +0200 |
---|---|---|
committer | Iñigo Martínez <inigomartinez@gmail.com> | 2018-08-11 22:56:33 +0200 |
commit | c50f3758d3e5da4f8b244227b211c3c3f454275c (patch) | |
tree | 3dacd4bde8e8c368710b1cecf46df808d4eb98ef /gsettings | |
parent | 183e193ba8823de398e8b22491478176acb923c9 (diff) | |
download | dconf-c50f3758d3e5da4f8b244227b211c3c3f454275c.tar.gz |
build: Fix internal dependencies
meson is able to generate internal dependencies for handling built
libraries. These internal dependencies depend on other dependencies
as well, based on the includes exposed by their headers.
This have been fixed by using proper internal dependencies for these
libraries.
Diffstat (limited to 'gsettings')
-rw-r--r-- | gsettings/meson.build | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/gsettings/meson.build b/gsettings/meson.build index 51bf5c0..c1e9104 100644 --- a/gsettings/meson.build +++ b/gsettings/meson.build @@ -1,20 +1,16 @@ -sources = files('dconfsettingsbackend.c') +deps = [ + libdconf_common_hidden_dep, + libdconf_gdbus_thread_dep +] cflags = '-DG_LOG_DOMAIN="@0@"'.format(meson.project_name()) libdconf_settings = shared_library( meson.project_name() + 'settings', - sources: sources, + sources: 'dconfsettingsbackend.c', include_directories: top_inc, - dependencies: gio_unix_dep, + dependencies: deps, c_args: cflags, - link_with: [ - libdconf_common_hidden, - libdconf_engine, - libdconf_gdbus_thread, - libdconf_shm, - libgvdb - ], install: true, install_dir: gio_module_dir ) |