summaryrefslogtreecommitdiff
path: root/gsettings
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2018-08-11 23:43:51 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2018-08-11 23:52:56 +0100
commit3833423bd614769107ea6123cc427221af85e3a6 (patch)
tree5bc1f1af255a1d53d1f892b9f6551e1fde62b09c /gsettings
parent2a7f31b6fb5669e5d41dcbf8ef3d8f3e982932ea (diff)
downloaddconf-3833423bd614769107ea6123cc427221af85e3a6.tar.gz
Namespace the dependencies variables
The build currently, unintentionally, depends on side effects, namely: that a variable defined in a meson.build file will be valid for any other included meson.build file, until it gets re-defined. We use the same `deps` variable in many places, and we end up depending on the inclusion order when we get to the client library, which depends on the gsettings backend defining the `deps` variable. Reviewed-by: nobody Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
Diffstat (limited to 'gsettings')
-rw-r--r--gsettings/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/gsettings/meson.build b/gsettings/meson.build
index aca21f0..65a1876 100644
--- a/gsettings/meson.build
+++ b/gsettings/meson.build
@@ -1,4 +1,4 @@
-deps = [
+backend_deps = [
libdconf_common_hidden_dep,
libdconf_gdbus_thread_dep,
]
@@ -7,7 +7,7 @@ libdconf_settings = shared_library(
'dconfsettings',
sources: 'dconfsettingsbackend.c',
include_directories: top_inc,
- dependencies: deps,
+ dependencies: backend_deps,
c_args: '-DG_LOG_DOMAIN="dconf"',
install: true,
install_dir: gio_module_dir,