From 1c4de77eaef8ad644e8a6a8a2e251c84017be324 Mon Sep 17 00:00:00 2001 From: Mike Gorse Date: Thu, 11 May 2023 15:42:06 -0500 Subject: Fix the build when dbus-broker is not found --- bus/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bus/meson.build b/bus/meson.build index 4c0d5f31..8e4b9b03 100644 --- a/bus/meson.build +++ b/bus/meson.build @@ -46,6 +46,7 @@ launcher_args = [ '-DDATADIR="@0@"'.format(atspi_datadir), ] +dbus_daemon_arg = '' if get_option('dbus_daemon') != 'default' dbus_daemon_arg = '-DDBUS_DAEMON="@0@"'.format(get_option('dbus_daemon')) else @@ -59,11 +60,10 @@ else required: false) if dbus_daemon.found() dbus_daemon_arg = '-DDBUS_DAEMON="@0@"'.format(dbus_daemon.full_path()) - else - dbus_daemon_arg = '' endif endif +dbus_broker_arg = '' needs_systemd = false if get_option('dbus_broker') != 'default' dbus_broker_arg = '-DDBUS_BROKER="@0@"'.format(get_option('dbus_broker')) -- cgit v1.2.1