summaryrefslogtreecommitdiffstats
path: root/package/samba4
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-04 12:35:08 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 01:35:41 +0200
commit5add8f45dc8a6fa0ffb7161d31cbb9b8be04d94e (patch)
tree5f10da004a822def8c5283de59d5c2e08438fab7 /package/samba4
parent4fa80a811d744a64492086ede087e5578b5cbf7b (diff)
downloadbuildroot-5add8f45dc8a6fa0ffb7161d31cbb9b8be04d94e.tar.gz
buildroot-5add8f45dc8a6fa0ffb7161d31cbb9b8be04d94e.zip
samba4: use the new gettext logic
This commit switches to use the new gettext logic, which involves using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies on gettext/host-gettext. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/samba4')
-rw-r--r--package/samba4/samba4.mk9
1 files changed, 2 insertions, 7 deletions
diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk
index 93c45daa58..86546e975b 100644
--- a/package/samba4/samba4.mk
+++ b/package/samba4/samba4.mk
@@ -15,7 +15,8 @@ SAMBA4_DEPENDENCIES = \
e2fsprogs popt python zlib \
$(if $(BR2_PACKAGE_LIBAIO),libaio) \
$(if $(BR2_PACKAGE_LIBCAP),libcap) \
- $(if $(BR2_PACKAGE_READLINE),readline)
+ $(if $(BR2_PACKAGE_READLINE),readline) \
+ $(TARGET_NLS_DEPENDENCIES)
ifeq ($(BR2_PACKAGE_ACL),y)
SAMBA4_CONF_OPTS += --with-acl-support
@@ -46,12 +47,6 @@ else
SAMBA4_CONF_OPTS += --without-fam
endif
-ifeq ($(BR2_PACKAGE_GETTEXT),y)
-SAMBA4_DEPENDENCIES += gettext
-else
-SAMBA4_CONF_OPTS += --without-gettext
-endif
-
ifeq ($(BR2_PACKAGE_GNUTLS),y)
SAMBA4_CONF_OPTS += --enable-gnutls
SAMBA4_DEPENDENCIES += gnutls
OpenPOWER on IntegriCloud