From 542fbe8520c981f9c96705a57e4263f34f2ab2e6 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Fri, 14 May 2010 09:44:03 +0200 Subject: Make all package using gettext rely on BR2_NEEDS_GETTEXT Signed-off-by: Thomas Petazzoni --- package/sshfs/Config.in | 4 ++-- package/sshfs/sshfs.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'package/sshfs') diff --git a/package/sshfs/Config.in b/package/sshfs/Config.in index 12d98f6bc..7ddd0c13a 100644 --- a/package/sshfs/Config.in +++ b/package/sshfs/Config.in @@ -2,8 +2,8 @@ config BR2_PACKAGE_SSHFS bool "sshfs (FUSE)" select BR2_PACKAGE_LIBFUSE select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_GETTEXT - select BR2_PACKAGE_LIBINTL + select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT + select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE depends on BR2_PACKAGE_OPENSSH help diff --git a/package/sshfs/sshfs.mk b/package/sshfs/sshfs.mk index 4acc2931e..d15aa00c2 100644 --- a/package/sshfs/sshfs.mk +++ b/package/sshfs/sshfs.mk @@ -11,6 +11,6 @@ SSHFS_AUTORECONF:=NO SSHFS_INSTALL_STAGING:=NO SSHFS_INSTALL_TARGET:=YES -SSHFS_DEPENDENCIES = libglib2 libfuse +SSHFS_DEPENDENCIES = libglib2 libfuse $(if $(BR2_NEEDS_GETTEXT),gettext libintl) $(eval $(call AUTOTARGETS,package,sshfs)) -- cgit v1.2.3