From da8860e4da533bbe3d684354b37174adb0e23b98 Mon Sep 17 00:00:00 2001 From: "Arnout Vandecappelle (Essensium/Mind)" Date: Thu, 1 Nov 2012 15:35:55 +0100 Subject: [PATCH] util-linux: only needs gettext if locale is selected Also add missing select in Config.in. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Acked-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- package/util-linux/Config.in | 1 + package/util-linux/util-linux.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in index 799833e9b9..e63814f716 100644 --- a/package/util-linux/Config.in +++ b/package/util-linux/Config.in @@ -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. diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk index d8a4e6f3f0..c6c8467eef 100644 --- a/package/util-linux/util-linux.mk +++ b/package/util-linux/util-linux.mk @@ -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 -- 2.30.2