From: Pascal de Bruijn
Date: Tue, 26 Nov 2019 14:59:03 +0000 (+0100)
Subject: package/glibc: install locale utility only when BR2_PACKAGE_GLIBC_UTILS=y
X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=283c5d474ee23bd00c111bb3b21a2d2d0eb3f80b;p=buildroot.git
package/glibc: install locale utility only when BR2_PACKAGE_GLIBC_UTILS=y
Fixes: fb1ee93ca4378456774e1ae24fcf370417733a38
Signed-off-by: Pascal de Bruijn
Signed-off-by: Thomas Petazzoni
---
diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk
index e366134026..4dc87e2f27 100644
--- a/package/glibc/glibc.mk
+++ b/package/glibc/glibc.mk
@@ -146,11 +146,10 @@ endif
ifeq ($(BR2_PACKAGE_GLIBC_UTILS),y)
GLIBC_TARGET_UTILS_USR_BIN = posix/getconf elf/ldd
GLIBC_TARGET_UTILS_SBIN = elf/ldconfig
-endif
-
ifeq ($(BR2_SYSTEM_ENABLE_NLS),y)
GLIBC_TARGET_UTILS_USR_BIN += locale/locale
endif
+endif
define GLIBC_INSTALL_TARGET_CMDS
for libpattern in $(GLIBC_LIBS_LIB); do \