From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 08 May 2023 14:48:30 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pw0I3-00A85X-4n for lore@lore.pengutronix.de; Mon, 08 May 2023 14:48:30 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1pw0I1-0002sJ-HT; Mon, 08 May 2023 14:48:29 +0200 Received: from dude02.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::28]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1pw0HV-0002sB-0F for ptxdist@pengutronix.de; Mon, 08 May 2023 14:47:57 +0200 From: Lucas Stach To: ptxdist@pengutronix.de Date: Mon, 8 May 2023 14:47:56 +0200 Message-Id: <20230508124756.243441-1-l.stach@pengutronix.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH] host-localedef: explicitly set libc_cv_complocaledir X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false 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 --- 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