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:43 -0500
commitada254318a0a35e6f9ae3c080963353ead2a8966 (patch)
tree3e1fd9d25814e2e5925b484f181254d23800d3a0
parenteaf7a1c931bc9a2016ac23a856bee7c7176de823 (diff)
downloadat-spi2-core-ada254318a0a35e6f9ae3c080963353ead2a8966.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'))