mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
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>
This commit is contained in:
@@ -15,7 +15,8 @@ SAMBA4_DEPENDENCIES = \
|
|||||||
e2fsprogs popt python zlib \
|
e2fsprogs popt python zlib \
|
||||||
$(if $(BR2_PACKAGE_LIBAIO),libaio) \
|
$(if $(BR2_PACKAGE_LIBAIO),libaio) \
|
||||||
$(if $(BR2_PACKAGE_LIBCAP),libcap) \
|
$(if $(BR2_PACKAGE_LIBCAP),libcap) \
|
||||||
$(if $(BR2_PACKAGE_READLINE),readline)
|
$(if $(BR2_PACKAGE_READLINE),readline) \
|
||||||
|
$(TARGET_NLS_DEPENDENCIES)
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_ACL),y)
|
ifeq ($(BR2_PACKAGE_ACL),y)
|
||||||
SAMBA4_CONF_OPTS += --with-acl-support
|
SAMBA4_CONF_OPTS += --with-acl-support
|
||||||
@@ -46,12 +47,6 @@ else
|
|||||||
SAMBA4_CONF_OPTS += --without-fam
|
SAMBA4_CONF_OPTS += --without-fam
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_GETTEXT),y)
|
|
||||||
SAMBA4_DEPENDENCIES += gettext
|
|
||||||
else
|
|
||||||
SAMBA4_CONF_OPTS += --without-gettext
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
||||||
SAMBA4_CONF_OPTS += --enable-gnutls
|
SAMBA4_CONF_OPTS += --enable-gnutls
|
||||||
SAMBA4_DEPENDENCIES += gnutls
|
SAMBA4_DEPENDENCIES += gnutls
|
||||||
|
|||||||
Reference in New Issue
Block a user