[Buildroot] [PATCHv4 1/3] gettext: allow building when BR2_NEEDS_GETTEXT is not selected

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Aug 16 13:47:20 UTC 2014

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 at free-electrons.com>
 package/gettext/Config.in | 1 -
 1 file changed, 1 deletion(-)

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 @@
 	bool "gettext"
-	depends on BR2_NEEDS_GETTEXT
 	depends on BR2_USE_WCHAR
 	  The GNU `gettext' utilities are a set of tools that provide a

More information about the buildroot mailing list