[OE-core] [PATCH] Add and use 'localedir' variable

Chris Larson kergoth at gmail.com
Mon Sep 24 21:35:51 UTC 2012


On Mon, Sep 24, 2012 at 2:16 PM, Khem Raj <raj.khem at gmail.com> wrote:
> On Mon, Sep 24, 2012 at 2:04 PM, Chris Larson <kergoth at gmail.com> wrote:
>>
>> This is the case by default for all eglibc builds that set libdir to
>> the default. See https://gist.github.com/3756705 — there's another
>> block just like that for all the other 64 bit archs for eglibc. When
>> we pass —libdir=/usr/lib64, it skips this logic.
>>
>> So changing it would just bring us inline with the default eglibc
>> behavior. The binary locale files are, as far as I'm aware, a
>> relatively arch independent binary format. There's no point or benefit
>> to having lib32 vs lib64 copies, they'd just be duplicated content.
>>
>> If it wasn't for the forthcoming 1.3 release, I'd have included the
>> proposed change to the default localedir to ${exec_prefix}/lib/locale
>> with this patch.
>
> Mark explained the change here so it is OK for OE internal. I hope
> external toolchains
> are also fine with it.

That's actually why I need this. The Sourcery G++ toolchains were
built such that locales are in lib/ and libraries are in lib64/, but
the metadata didn't allow a way to control that behavior, resulting in
eglibc-locale failure.
-- 
Christopher Larson




More information about the Openembedded-core mailing list