summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gorse <mgorse@suse.com>2023-05-11 15:42:06 -0500
committerMike Gorse <mgorse@suse.com>2023-05-11 15:42:06 -0500
commit1c4de77eaef8ad644e8a6a8a2e251c84017be324 (patch)
treeb88b04b28d53182aca6d70324926372a16b5b27f
parentf72aa7bfe70c32cd98ebdea379586ae4441e1e4b (diff)
downloadat-spi2-core-1c4de77eaef8ad644e8a6a8a2e251c84017be324.tar.gz
Fix the build when dbus-broker is not found
-rw-r--r--bus/meson.build4
1 files 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'))