summaryrefslogtreecommitdiff
path: root/libupower-glib
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2021-09-07 12:23:41 +0200
committerBastien Nocera <hadess@hadess.net>2021-09-07 17:15:52 +0200
commit9035db94fc9de2fb033474d477495f3dda336325 (patch)
tree3af0ab63f1e14c81c745eddcc8db1d8a493d92e3 /libupower-glib
parent69a7cc39db984c8404cbd3530450c7a3f995e959 (diff)
downloadupower-9035db94fc9de2fb033474d477495f3dda336325.tar.gz
build: Add missing GLib log domains
The daemon sources and libupower-glib were built without their historic log domains which meant some debug messages did not appear when running upowerd in verbose mode. This fixes the test_no_poll_batteries test.
Diffstat (limited to 'libupower-glib')
-rw-r--r--libupower-glib/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/libupower-glib/meson.build b/libupower-glib/meson.build
index 9a5323c..7eda0be 100644
--- a/libupower-glib/meson.build
+++ b/libupower-glib/meson.build
@@ -51,6 +51,7 @@ libupower_glib = shared_library('upower-glib',
include_directories: [ '..' ],
c_args: [
'-DUP_COMPILATION',
+ '-DG_LOG_DOMAIN="libupower-glib"',
],
soversion: soversion,
version: libversion,