[oe] 'LIBC' variable clashes with perl variable

Khem Raj raj.khem at gmail.com
Sun Jul 11 22:17:35 UTC 2010


On Sun, Jul 11, 2010 at 10:01 AM, Phil Blundell <philb at gnu.org> wrote:
> On Sun, 2010-07-11 at 15:45 +0200, Koen Kooi wrote:
>> Perl (among others) uses the 'LIBC' variable to point its linker to
>> libc.so.6, which fails due to OE redefing LIBC.
>>
>> Any objections to renaming LIBC to TARGET_LIBC in OE?
>
> How is perl getting to see that variable?  I don't think it ought to be
> exported.
>
> I don't have any problem with renaming it, though I do wonder whether it
> would be better to just abolish it altogether in favour of inspecting
> ${HOST_OS}.

uclibc is ok but glibc and eglibc will have same HOST_OS so it will be
hard to differentiate which system C library to choose.


>
> p.
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list