Skip to contentSkip to conversation

package/samba4: add optional dependency to icu & libglib2

Buildroot Peter Korsgaard 1 participant 1 message Jan 24, 2022

lore
Share & tools
lore
#0 lore raw

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

(cherry picked from commit 1c4c68b8fbf471919fbbaf4e688a75c4de36a331)
---
 package/samba4/samba4.mk | 2 ++
 1 file changed, 2 insertions(+)
package/samba4/samba4.mk +2 -0
index eb1f3b830e..de019e7afc 100644
@@ -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
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot