Ver Fonte

gettext: make only available if BR2_NEEDS_GETTEXT is set

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>
Thomas Petazzoni há 15 anos atrás
pai
commit
407616f690
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      package/gettext/Config.in

+ 2 - 0
package/gettext/Config.in

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