package/iwd: add dbus compile time dependency

In 5b3b2d80f4 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>
This commit is contained in:
James Hilliard 2022-10-31 11:49:59 -06:00 committed by Thomas Petazzoni
parent 79591b7667
commit 47659b4f34

View File

@ -16,9 +16,8 @@ IWD_SELINUX_MODULES = networkmanager
IWD_CONF_OPTS = \
--disable-manual-pages \
--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)
# iwd client depends on readline (GPL-3.0+)