util-linux: only needs gettext if locale is selected
Also add missing select in Config.in. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
1c834dd1ce
commit
da8860e4da
@ -2,6 +2,7 @@ config BR2_PACKAGE_UTIL_LINUX
|
||||
bool "util-linux"
|
||||
depends on BR2_LARGEFILE
|
||||
depends on BR2_USE_WCHAR
|
||||
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
|
||||
help
|
||||
Various useful/essential linux libraries and utilities.
|
||||
|
||||
|
@ -35,7 +35,7 @@ else
|
||||
UTIL_LINUX_CONF_OPT += --without-ncurses
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GETTEXT),y)
|
||||
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
||||
UTIL_LINUX_DEPENDENCIES += gettext
|
||||
UTIL_LINUX_MAKE_OPT += LIBS=-lintl
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user