[Buildroot] [git commit] package/localedef: add missing dependeny on host-gawk

From: Yann E. MORIN <hidden>
Date: 2020-03-21 16:34:26
Subsystem: the rest · Maintainer: Linus Torvalds

commit: https://git.buildroot.net/buildroot/commit/?id=7a74bad0b44d1ea9b400320e4f992925463e49a4
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

While reviewing the patch [1], we noticed that host-gawk dependency
was missing. It may trigger an issue if gawk is missing on the host
since it's a "critical tool" [2].

Indeed, localedef package is actually glibc sources that check gawk
host binary.

host-gawk is listed in glibc package dependency [3], so add it to
localedef too.

[1] af90a104c06542a1bf5545eaf9b9c7beb7176e80
[2] https://sourceware.org/git/?p=glibc.git;a=blob;f=configure.ac;h=49b900c1ed68fa4dd1dadca809ceb6e8b237a89c;hb=9ea3686266dca3f004ba874745a4087a89682617#l1021
[3] https://git.buildroot.net/buildroot/tree/package/glibc/glibc.mk?h=2020.02#n38

Signed-off-by: Romain Naour <redacted>
Cc: Yann E. MORIN <redacted>
Signed-off-by: Yann E. MORIN <redacted>
---
 package/localedef/localedef.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/localedef/localedef.mk b/package/localedef/localedef.mk
index 3e22f68039..1093e106fa 100644
--- a/package/localedef/localedef.mk
+++ b/package/localedef/localedef.mk
@@ -14,7 +14,8 @@ HOST_LOCALEDEF_DL_SUBDIR = glibc
 
 HOST_LOCALEDEF_DEPENDENCIES = \
 	$(BR2_MAKE_HOST_DEPENDENCY) \
-	host-bison
+	host-bison \
+	host-gawk
 
 HOST_LOCALEDEF_CONF_ENV += ac_cv_prog_MAKE="$(BR2_MAKE)"
 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help