package/samba4: add cmocka dependency
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 10 May 2019 22:20:29 +0000 (00:20 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 14 May 2019 17:21:48 +0000 (19:21 +0200)
Use system version of cmocka instead of the embedded one

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/samba4/Config.in
package/samba4/samba4.mk

index 4ccd22aa2d087a9fce671f753ebb9ef150693dfc..f65cdc47b6bd5cf229f00494b45c50057057ca63 100644 (file)
@@ -9,10 +9,11 @@ config BR2_PACKAGE_SAMBA4
        depends on BR2_USE_MMU # fork()
        depends on BR2_USE_WCHAR # python
        depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # python -> libffi
-       depends on !BR2_STATIC_LIBS # python, gnutls
+       depends on !BR2_STATIC_LIBS # cmocka, python, gnutls
        depends on !BR2_nios2 # binary too large, relocations don't fit
        depends on BR2_TOOLCHAIN_HAS_SYNC_4
        depends on !BR2_TOOLCHAIN_USES_MUSL
+       select BR2_PACKAGE_CMOCKA
        select BR2_PACKAGE_E2FSPROGS
        select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
        select BR2_PACKAGE_POPT
index 941d4df1d6b9dfeabdd47aa090a98ae338638806..3ab255b8fec392ce3f0698257a0e973b89356824 100644 (file)
@@ -12,7 +12,7 @@ SAMBA4_LICENSE = GPL-3.0+
 SAMBA4_LICENSE_FILES = COPYING
 SAMBA4_DEPENDENCIES = \
        host-e2fsprogs host-heimdal host-python host-nfs-utils \
-       e2fsprogs popt python zlib \
+       cmocka e2fsprogs popt python zlib \
        $(if $(BR2_PACKAGE_LIBAIO),libaio) \
        $(if $(BR2_PACKAGE_LIBCAP),libcap) \
        $(if $(BR2_PACKAGE_READLINE),readline) \