[Buildroot] [PATCH 06/19] gettext: make only available if BR2_NEEDS_GETTEXT is set

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri May 21 08:08:26 UTC 2010

This allows to make sure that an user, or a randpackageconfig, will
not select the gettext or libintl package when using an external
toolchain based on glibc/eglibc.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
 package/gettext/Config.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/package/gettext/Config.in b/package/gettext/Config.in
index bd5950c..c6792ac 100644
--- a/package/gettext/Config.in
+++ b/package/gettext/Config.in
@@ -1,5 +1,6 @@
 	bool "gettext"
+	depends on BR2_NEEDS_GETTEXT
 	  The GNU `gettext' utilities are a set of tools that provide a
 	  framework to help other GNU packages produce multi-lingual
@@ -21,6 +22,7 @@ config BR2_PACKAGE_GETTEXT_STATIC
 	bool "libintl"
+	depends on BR2_NEEDS_GETTEXT
 	  Selecting this package installs all of gettext in the staging
 	  directory and the shared library for it's use in the target.

More information about the buildroot mailing list