summaryrefslogtreecommitdiff
path: root/client/meson.build
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 /client/meson.build
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 'client/meson.build')
-rw-r--r--client/meson.build6
1 files changed, 2 insertions, 4 deletions
diff --git a/client/meson.build b/client/meson.build
index ce425d2..74fb090 100644
--- a/client/meson.build
+++ b/client/meson.build
@@ -12,8 +12,6 @@ install_headers(
sources = files('dconf-client.c')
-cflags = '-DG_LOG_DOMAIN="dconf"'
-
deps = [
libdconf_common_hidden_dep,
libdconf_gdbus_thread_dep,
@@ -24,7 +22,7 @@ libdconf_client = static_library(
sources: sources,
include_directories: top_inc,
dependencies: libdconf_gdbus_thread_dep,
- c_args: cflags,
+ c_args: dconf_c_args,
pic: true,
)
@@ -40,7 +38,7 @@ libdconf = shared_library(
soversion: soversion,
include_directories: top_inc,
dependencies: deps,
- c_args: cflags,
+ c_args: dconf_c_args,
install: true,
)