[Buildroot] [git commit branch/2021.11.x] package/samba4: add optional dependency to icu & libglib2

From: Peter Korsgaard <peter@korsgaard.com>
Date: 2022-01-24 17:37:46
Subsystem: the rest · Maintainer: Linus Torvalds

commit: https://git.buildroot.net/buildroot/commit/?id=a8e5a9c8cdac32c85e42ed305482a7cf4296c52f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.11.x

icu is used in lib/util/charset/
https://git.samba.org/samba.git/?p=samba.git;a=blob;f=lib/util/charset/wscript_configure;hb=HEAD#l40

libglib2 is used in source3/
https://git.samba.org/samba.git/?p=samba.git;a=blob;f=source3/wscript;hb=HEAD#l1778

Signed-off-by: Bernd Kuhls <redacted>
Signed-off-by: Yann E. MORIN <redacted>
(cherry picked from commit 1c4c68b8fbf471919fbbaf4e688a75c4de36a331)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/samba4/samba4.mk | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk
index eb1f3b830e..de019e7afc 100644
--- a/package/samba4/samba4.mk
+++ b/package/samba4/samba4.mk
@@ -17,8 +17,10 @@ SAMBA4_DEPENDENCIES = \
 	host-e2fsprogs host-flex host-heimdal host-nfs-utils \
 	host-perl host-perl-parse-yapp host-python3 \
 	cmocka e2fsprogs gnutls popt zlib \
+	$(if $(BR2_PACKAGE_ICU),icu) \
 	$(if $(BR2_PACKAGE_LIBAIO),libaio) \
 	$(if $(BR2_PACKAGE_LIBCAP),libcap) \
+	$(if $(BR2_PACKAGE_LIBGLIB2),libglib2) \
 	$(if $(BR2_PACKAGE_READLINE),readline) \
 	$(TARGET_NLS_DEPENDENCIES)
 SAMBA4_CFLAGS = $(TARGET_CFLAGS)
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help