summaryrefslogtreecommitdiffstats
path: root/package/sshfs
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-03 23:18:59 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 01:35:41 +0200
commit61de612a0b704bbc63da3d21e05331a26320bcdb (patch)
tree5ad640ab7deb4f8e660d0157c0491e235cc2fb85 /package/sshfs
parent5add8f45dc8a6fa0ffb7161d31cbb9b8be04d94e (diff)
downloadbuildroot-61de612a0b704bbc63da3d21e05331a26320bcdb.tar.gz
buildroot-61de612a0b704bbc63da3d21e05331a26320bcdb.zip
sshfs: 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 - dropping BR2_PACKAGE_GETTEXT selection Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/sshfs')
-rw-r--r--package/sshfs/Config.in1
-rw-r--r--package/sshfs/sshfs.mk2
2 files changed, 1 insertions, 2 deletions
diff --git a/package/sshfs/Config.in b/package/sshfs/Config.in
index 54aa8312b7..54e92c6f8a 100644
--- a/package/sshfs/Config.in
+++ b/package/sshfs/Config.in
@@ -6,7 +6,6 @@ config BR2_PACKAGE_SSHFS
depends on !BR2_STATIC_LIBS # libfuse
select BR2_PACKAGE_LIBFUSE
select BR2_PACKAGE_LIBGLIB2
- select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
select BR2_PACKAGE_OPENSSH
help
diff --git a/package/sshfs/sshfs.mk b/package/sshfs/sshfs.mk
index 1288318903..ee96ad67e8 100644
--- a/package/sshfs/sshfs.mk
+++ b/package/sshfs/sshfs.mk
@@ -10,7 +10,7 @@ SSHFS_LICENSE = GPL-2.0
SSHFS_LICENSE_FILES = COPYING
SSHFS_DEPENDENCIES = \
libglib2 libfuse openssh \
- $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \
+ $(TARGET_NLS_DEPENDENCIES) \
$(if $(BR2_ENABLE_LOCALE),,libiconv)
$(eval $(autotools-package))
OpenPOWER on IntegriCloud