Browse Source

package/iwd: add dbus compile time dependency

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.

In addition we can drop --with-dbus-datadir by unconditionally
requiring dbus as the datadir will then be fetched from pkg-config.

Fixes:
checking D-Bus bus services directory... configure: error: D-Bus bus services directory is required

  http://autobuild.buildroot.net/results/4a48676460e6ce588897598f0022ec840b4b4b8d/

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 47659b4f342382c764076c0c0dfbee446b090661)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
James Hilliard 2 years ago
parent
commit
db55241338
1 changed files with 2 additions and 3 deletions
  1. 2 3
      package/iwd/iwd.mk

+ 2 - 3
package/iwd/iwd.mk

@@ -16,9 +16,8 @@ IWD_SELINUX_MODULES = networkmanager
 IWD_CONF_OPTS = \
 IWD_CONF_OPTS = \
 	--disable-manual-pages \
 	--disable-manual-pages \
 	--enable-external-ell \
 	--enable-external-ell \
-	--enable-dbus-policy \
-	--with-dbus-datadir=/usr/share
-IWD_DEPENDENCIES = ell
+	--enable-dbus-policy
+IWD_DEPENDENCIES = dbus ell
 
 
 ifeq ($(BR2_PACKAGE_READLINE),y)
 ifeq ($(BR2_PACKAGE_READLINE),y)
 # iwd client depends on readline (GPL-3.0+)
 # iwd client depends on readline (GPL-3.0+)