diff options
author | Philip Withnall <withnall@endlessm.com> | 2018-08-14 16:00:13 +0100 |
---|---|---|
committer | Philip Withnall <withnall@endlessm.com> | 2018-08-16 18:58:27 +0100 |
commit | ea8c09f14da4b931cdadbabe2be315f6747ac7b7 (patch) | |
tree | 2f0b6cad43ed5ce1fd5e0b466126e162011183d4 /gvdb | |
parent | ed13467de71084e44fc98a9a0e3a2fe99ae6f26c (diff) | |
download | dconf-ea8c09f14da4b931cdadbabe2be315f6747ac7b7.tar.gz |
build: Enable G_LOG_USE_STRUCTURED=1
This enables structured logging for all parts of dconf, which will make
it easier to check for certain log messages in the unit tests.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Diffstat (limited to 'gvdb')
-rw-r--r-- | gvdb/meson.build | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gvdb/meson.build b/gvdb/meson.build index 1309a5b..1a1aba8 100644 --- a/gvdb/meson.build +++ b/gvdb/meson.build @@ -7,12 +7,17 @@ gvdb_deps = [ glib_dep, ] +cflags = [ + '-DG_LOG_DOMAIN="gvdb (via dconf)"', + '-DG_LOG_USE_STRUCTURED=1', +] + libgvdb = static_library( 'gvdb', sources: sources, include_directories: top_inc, dependencies: gvdb_deps, - c_args: '-DG_LOG_DOMAIN="gvdb (via dconf)"', + c_args: cflags, pic: true, ) |