build: include broker/ in dep_bus
We have reverse dependencies from activation code back to the broker,
so we must include all sources in dep_bus to guarantee linking succeeds
even without dead-code elimination.
@@ -13,6 +13,9 @@ endif
#
sources_bus = [
+ 'broker/broker.c',
+ 'broker/controller.c',
+ 'broker/controller-dbus.c',
'bus/activation.c',
'bus/bus.c',
'bus/driver.c',
@@ -115,9 +118,6 @@ dep_bus = declare_dependency(
exe_dbus_broker = executable(
'dbus-broker',
[
- 'broker/broker.c',
- 'broker/controller.c',
- 'broker/controller-dbus.c',
'broker/main.c',
],
dependencies: [
