summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2018-08-14 16:00:13 +0100
committerPhilip Withnall <withnall@endlessm.com>2018-08-16 18:58:27 +0100
commitea8c09f14da4b931cdadbabe2be315f6747ac7b7 (patch)
tree2f0b6cad43ed5ce1fd5e0b466126e162011183d4 /service
parented13467de71084e44fc98a9a0e3a2fe99ae6f26c (diff)
downloaddconf-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 'service')
-rw-r--r--service/meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/service/meson.build b/service/meson.build
index 6de68bd..35ee23a 100644
--- a/service/meson.build
+++ b/service/meson.build
@@ -34,6 +34,7 @@ libdconf_service = static_library(
'dconf-service',
sources: lib_sources,
include_directories: top_inc,
+ c_args: dconf_c_args,
dependencies: gio_unix_dep,
link_with: [
libdconf_common,
@@ -46,6 +47,7 @@ executable(
'dconf-service',
sources,
include_directories: top_inc,
+ c_args: dconf_c_args,
dependencies: gio_unix_dep,
link_with: libdconf_service,
install: true,