From 17f6c26590d22365968e7fd0d246b315b255d204 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 23 Jul 2017 15:36:19 +0200 Subject: [PATCH] package/samba4: add optional dependency to dbus samba4 picks up dbus as dependency if it was built before: Checking for dbus : yes Checking for header dbus/dbus.h : yes Checking for library dbus-1 : yes There is no configure option to control dbus support so we just make sure dbus is built before samba4 to have reproducible builds. Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/samba4/samba4.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk index ffa101b73f..3dbb261b14 100644 --- a/package/samba4/samba4.mk +++ b/package/samba4/samba4.mk @@ -44,6 +44,10 @@ else SAMBA4_CONF_OPTS += --disable-cups endif +ifeq ($(BR2_PACKAGE_DBUS),y) +SAMBA4_DEPENDENCIES += dbus +endif + ifeq ($(BR2_PACKAGE_DBUS)$(BR2_PACKAGE_AVAHI_DAEMON),yy) SAMBA4_CONF_OPTS += --enable-avahi SAMBA4_DEPENDENCIES += avahi -- 2.30.2