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

mail settings
Submitter Thomas Petazzoni
Date June 1, 2014, 8:23 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/354656/
State Accepted
Commit 2bc3bca6d85bcdaa1abc582eab5e95274896fece
Headers show


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 <>
 package/gettext/ | 1 -
 1 file changed, 1 deletion(-)


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