summaryrefslogtreecommitdiff
path: root/client
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 /client
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 'client')
-rw-r--r--client/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/meson.build b/client/meson.build
index 305737b..ce425d2 100644
--- a/client/meson.build
+++ b/client/meson.build
@@ -14,6 +14,11 @@ sources = files('dconf-client.c')
cflags = '-DG_LOG_DOMAIN="dconf"'
+deps = [
+ libdconf_common_hidden_dep,
+ libdconf_gdbus_thread_dep,
+]
+
libdconf_client = static_library(
'dconf-client',
sources: sources,