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

* Re: [ptxdist] [APPLIED] host-localedef: explicitly set libc_cv_complocaledir
  2023-05-08 12:47 [ptxdist] [PATCH] host-localedef: explicitly set libc_cv_complocaledir Lucas Stach
@ 2023-05-17 16:14 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2023-05-17 16:14 UTC (permalink / raw)
  To: ptxdist; +Cc: Lucas Stach

Thanks, applied as be4f5ee4920c19c8e2963f9cf7b9e0851c03ba52.

Michael

[sent from post-receive hook]

On Wed, 17 May 2023 18:14:28 +0200, Lucas Stach <l.stach@pengutronix.de> wrote:
> 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>
> Message-Id: <20230508124756.243441-1-l.stach@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> 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
>  #



^ 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