[oe] [PATCH v3] cpan_build.bbclass; added cc and ld flags to the perl Build.PL invocation

Roman I Khimov roman at khimov.ru
Wed Dec 29 20:40:35 UTC 2010


В сообщении от Среда 29 декабря 2010 22:39:09 автор Frans Meulenbroeks 
написал:
> from
>  ./sysroots/i686-linux/usr/lib/perl/5.10.1/Config_heavy-arm-oe-linux-gnueab
> i.pl
> 
> api_versionstring='5.10.0'        <--- note the .0 here

That is correct.

> archlib='/usr/lib/perl/5.10'
> archlibexp='/usr/lib/perl/5.10'
> privlib='/usr/share/perl/5.10'
> privlibexp='/usr/share/perl/5.10'

I've had an idea of patching ExtUtils::CBuilder directly to use installarchlib 
instead of archlibexp, but thinking about it more and more it seems that it 
would be better to directly patch this variables in Config-heavy-..., because 
that file is only used for cross-compilation and for traditional (Makefile.PL) 
build system PERL_INC, PERL_LIB and PERL_ARCHLIB are redefined in cpan-base 
anyway for all build phases. Patching the config file would even allow to kill 
those redefinitions there some time in future.

Patch will follow.

-- 
 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/20101229/415039b2/attachment-0002.sig>


More information about the Openembedded-devel mailing list