Patchwork [PATCHv2,4/6] gettext: allow building when BR2_NEEDS_GETTEXT is not selected

login
register
mail settings
Submitter Thomas Petazzoni
Date June 1, 2014, 8:23 p.m.
Message ID <1401654214-19384-5-git-send-email-thomas.petazzoni@free-electrons.com>
Download mbox | patch
Permalink /patch/354656/
State Accepted
Commit 2bc3bca6d85bcdaa1abc582eab5e95274896fece
Headers show

Comments

Thomas Petazzoni - June 1, 2014, 8:23 p.m.
Until now, we thought that gettext was only needed for the target for
uClibc toolchains, to provide the gettext functions that are normally
provided directly by glibc.

However, the gettext runtime actually does more than providing the
equivalent of those C library functions: it also provides certain
command line tools, like 'gettext' to get translated strings from the
shell. This tool is for example used by certain ecryptfs-utils scripts
to get translated strings. It is therefore necessary to be able to
build the gettext package even for glibc toolchains.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/gettext/Config.in | 1 -
 1 file changed, 1 deletion(-)

Patch

diff --git a/package/gettext/Config.in b/package/gettext/Config.in
index 158b14e..7871a48 100644
--- a/package/gettext/Config.in
+++ b/package/gettext/Config.in
@@ -1,6 +1,5 @@ 
 config BR2_PACKAGE_GETTEXT
 	bool "gettext"
-	depends on BR2_NEEDS_GETTEXT
 	depends on BR2_USE_WCHAR
 	help
 	  The GNU `gettext' utilities are a set of tools that provide a