[Buildroot] [PATCH 2/3] package/samba4: add optional dependency to dbus
Bernd Kuhls
bernd.kuhls at t-online.de
Sun Jul 23 13:36:19 UTC 2017
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 <bernd.kuhls at t-online.de>
---
package/samba4/samba4.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk
index ccdd13e2f..ab3f67dc9 100644
--- a/package/samba4/samba4.mk
+++ b/package/samba4/samba4.mk
@@ -40,6 +40,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.11.0
More information about the buildroot
mailing list