samba4: add conditional depends
authorJohn Audia <[email protected]>
Thu, 19 Jun 2025 17:17:14 +0000 (13:17 -0400)
committerHannu Nyman <[email protected]>
Sun, 22 Jun 2025 17:08:36 +0000 (20:08 +0300)
If users are building icu we need to depend on the corresponding
shared objects to avoid missing library dependencies, for example:
libicui18n.so.77
libicuuc.so.77

Signed-off-by: John Audia <[email protected]>
net/samba4/Makefile

index 52bf1ae48ecdc5dd1d3f23dc447bbf38bb053e57..fe36ded41a7dcc41f440d3747b9d9f77bca66e3c 100644 (file)
@@ -3,7 +3,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=samba
 PKG_VERSION:=4.22.2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:= \
@@ -65,6 +65,7 @@ define Package/samba4-libs
   $(call Package/samba4/Default)
   TITLE+= libs
   DEPENDS:= +libtirpc +libreadline +libpopt +libcap +zlib +libgnutls +libtasn1 +libuuid +libopenssl +libpthread +KERNEL_IO_URING:liburing \
+       +PACKAGE_icu:icu \
        +PACKAGE_libpam:libpam \
        +SAMBA4_SERVER_VFS:attr \
        +SAMBA4_SERVER_AVAHI:libavahi-client \