[oe] [PATCH 3/5] perl-native: fix ExtUtils::Liblist::Kid library check for cross-build

Khem Raj raj.khem at gmail.com
Sat Dec 25 19:55:52 UTC 2010


On 12/25/2010 10:05 AM, Roman I Khimov wrote:
> В сообщении от Суббота 25 декабря 2010 20:33:36 автор Khem Raj написал:
>> On 12/25/2010 2:48 AM, Roman I Khimov wrote:
>>> MakeMaker uses it to check for libraries presence and if the library is
>>> not found in host dirs (/lib, /usr/lib, etc) it fails with messages like:
>>>
>>> Note (probably harmless): No library found for -lpcap
>>>
>>> Unfortunately it's not harmless, since MakeMaker removes such libs from
>>> flags passed to link target modules which obviously breaks them.
>>>
>>> As I don't know exact semantic and all use-cases of libpth config
>>> variable I've workarounded this issue by prepending ldflags (and this
>>> does contain the right path) to lib flags.
>>>
>>> Signed-off-by: Roman I Khimov<khimov at altell.ru>
>>
>> is this a problem for perl-native or target perl ?
>
> For target perl libraries. Seen that on Net::PCAP, the package built fine, but
> the actual library wasn't linked to pcap, thus not working. But in order for
> target perl libraries to build properly native perl needs to be patched.

got it.

Acked-by: Khem Raj <raj.khem at gmail.com>

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