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

Roman I Khimov roman at khimov.ru
Sat Dec 25 18:05:16 UTC 2010


В сообщении от Суббота 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.

-- 
 http://roman.khimov.ru
mailto: roman at khimov.ru
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20101225/7a2a1e8e/attachment-0002.sig>


More information about the Openembedded-devel mailing list