summaryrefslogtreecommitdiff
path: root/bin
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 /bin
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 'bin')
-rw-r--r--bin/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/meson.build b/bin/meson.build
index 5c6e6bc..763a10b 100644
--- a/bin/meson.build
+++ b/bin/meson.build
@@ -5,7 +5,7 @@ sources = gvdb_builder + libdconf_vapi + files(
'gvdb.vapi',
)
-deps = [
+bin_deps = [
libdconf_common_dep,
libdconf_dep,
valac.find_library('posix'),
@@ -15,7 +15,7 @@ executable(
'dconf',
sources,
include_directories: top_inc,
- dependencies: deps,
+ dependencies: bin_deps,
install: true,
)