~vcs-imports/dconf/master

« back to all changes in this revision

Viewing changes to client/meson.build

  • Committer: Emmanuele Bassi
  • Date: 2018-08-11 22:52:56 UTC
  • Revision ID: git-v1:3833423bd614769107ea6123cc427221af85e3a6
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>

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 
15
15
cflags = '-DG_LOG_DOMAIN="dconf"'
16
16
 
 
17
deps = [
 
18
  libdconf_common_hidden_dep,
 
19
  libdconf_gdbus_thread_dep,
 
20
]
 
21
 
17
22
libdconf_client = static_library(
18
23
  'dconf-client',
19
24
  sources: sources,