mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Lucas Stach <l.stach@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] host-localedef: explicitly set libc_cv_complocaledir
Date: Wed, 17 May 2023 18:14:28 +0200	[thread overview]
Message-ID: <20230517161428.950686-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20230508124756.243441-1-l.stach@pengutronix.de>

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
>  #



      reply	other threads:[~2023-05-17 16:14 UTC|newest]

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

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=20230517161428.950686-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=l.stach@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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