mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-02-05 05:20:35 +01:00
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.
This commit is contained in:
parent
69a7cc39db
commit
9035db94fc
2 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ upowerd_private = static_library('upowerd-private',
|
|||
'up-native.h',
|
||||
],
|
||||
dependencies: [ upowerd_deps ],
|
||||
c_args: [ '-DG_LOG_DOMAIN="UPower"' ],
|
||||
)
|
||||
|
||||
upowerd = executable('upowerd',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue