mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] host-localedef: explicitly set libc_cv_complocaledir
@ 2023-05-08 12:47 Lucas Stach
  2023-05-17 16:14 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Stach @ 2023-05-08 12:47 UTC (permalink / raw)
  To: ptxdist

The default for the locale archive path is currently autodetected at
configure time and baked into the localedef binary with no way to
change it at runtime. On multilib hosts the detected path may end up
being different from what scripts/make_locale.sh expects.

Explicitly set libc_cv_complocaledir to the path expected elsewhere in
the system.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 rules/host-localedef.make | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/rules/host-localedef.make b/rules/host-localedef.make
index d39a8ed951e3..54568567f781 100644
--- a/rules/host-localedef.make
+++ b/rules/host-localedef.make
@@ -29,6 +29,10 @@ HOST_LOCALEDEF_LICENSE	:= LGPL-2.1-or-later AND GPL-2.0-or-later
 # Prepare
 # ----------------------------------------------------------------------------
 
+HOST_LOCALEDEF_CONF_ENV  := \
+	$(HOST_ENV) \
+	libc_cv_complocaledir='/usr/lib/locale'
+
 #
 # autoconf
 #
-- 
2.39.2




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-17 16:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-08 12:47 [ptxdist] [PATCH] host-localedef: explicitly set libc_cv_complocaledir Lucas Stach
2023-05-17 16:14 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox