gettext: make only available if BR2_NEEDS_GETTEXT is set
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 14 May 2010 07:46:21 +0000 (09:46 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 20 May 2010 20:34:27 +0000 (22:34 +0200)
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@free-electrons.com>
package/gettext/Config.in

index bd5950c12bdf8c49027434ff2a2086549fc99553..c6792acd7d8f4d85297a56ba538373660a1cf68e 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_GETTEXT
        bool "gettext"
+       depends on BR2_NEEDS_GETTEXT
        help
          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
 
 config BR2_PACKAGE_LIBINTL
        bool "libintl"
+       depends on BR2_NEEDS_GETTEXT
        help
          Selecting this package installs all of gettext in the staging
          directory and the shared library for it's use in the target.