samba4: add optional libbsd dependency
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Fri, 12 Feb 2016 14:38:21 +0000 (11:38 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 13 Feb 2016 17:18:36 +0000 (18:18 +0100)
It's used for some small functions like md5 support, non-essential since
samba has an internal fallback for those, but still add it for
predictability.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/samba4/samba4.mk

index 4e796a67f9783cd4443b61d4b2dec0e3a2a4b28a..118a4aede5b4a6f0123e97d14a02b677df8895fc 100644 (file)
@@ -11,6 +11,7 @@ SAMBA4_INSTALL_STAGING = YES
 SAMBA4_LICENSE = GPLv3+
 SAMBA4_LICENSE_FILES = COPYING
 SAMBA4_DEPENDENCIES = host-e2fsprogs host-heimdal e2fsprogs popt python zlib \
+       $(if $(BR2_PACKAGE_LIBBSD),libbsd) \
        $(if $(BR2_PACKAGE_LIBCAP),libcap) \
        $(if $(BR2_PACKAGE_READLINE),readline)