build: Make the DBUS_MACHINE_UUID_FILE correctly absolute

get_option('localstatedir') might be relative.

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie 2022-06-24 12:47:58 +01:00
parent c2b2e0e728
commit eefdbe86f8

View file

@ -705,7 +705,7 @@ config.set_quoted('DBUS_RUNSTATEDIR',
get_option('localstatedir')
)
config.set_quoted('DBUS_MACHINE_UUID_FILE',
get_option('localstatedir') / 'lib'/'dbus'/'machine-id'
get_option('prefix') / get_option('localstatedir') / 'lib'/'dbus'/'machine-id'
)
config.set_quoted('DBUS_SYSTEM_CONFIG_FILE',
get_option('prefix') / get_option('datadir') / 'dbus-1' / 'system.conf'