Skip to contentSkip to conversation

package/iwd: fix D-Bus bus services directory error

PATCH New James Hilliard 1 participant 1 message Oct 31, 2022

lore
Share & tools
lore
#0 lore raw

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

---
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
index 002988cf33..6e366e094d 100644
@@ -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