mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Lucas Stach <>
Subject: [ptxdist] [PATCH] host-localedef: explicitly set libc_cv_complocaledir
Date: Mon,  8 May 2023 14:47:56 +0200	[thread overview]
Message-ID: <> (raw)

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/ expects.

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

Signed-off-by: Lucas Stach <>
 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_ENV) \
+	libc_cv_complocaledir='/usr/lib/locale'
 # autoconf

             reply	other threads:[~2023-05-08 12:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-08 12:47 Lucas Stach [this message]
2023-05-17 16:14 ` [ptxdist] [APPLIED] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox