package/iwd: fix D-Bus bus services directory error
PATCH v2 1/1 package/iwd: fix D-Bus bus services directory error
In 5b3b2d80f4cf586d360ff696c3dacbd4cb48fdc4 we dropped dbus as a build dependency, however we still need it when building with systemd so that the service directory is available via pkg-config.
Fixes:
checking D-Bus bus services directory... configure: error: D-Bus bus services directory is required
Signed-off-by James Hilliard <[email protected]>
---
Changes v1 -> v2:
- depend on dbus when depending on systemd
--- package/iwd/iwd.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
package/iwd/iwd.mk +2 -1
@@ -31,7 +31,8 @@ endif ifeq ($(BR2_PACKAGE_SYSTEMD),y) IWD_CONF_OPTS += --enable-systemd-service -IWD_DEPENDENCIES += systemd +# Need dbus for system_bus_services_dir variable provided by dbus' .pc +IWD_DEPENDENCIES += dbus systemd else IWD_CONF_OPTS += --disable-systemd-service endif
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot