[OE-core] [PATCH 2/2] perl-dynloader.patch: Fix libdir issue for multilib

Mei, Lei lei.mei at intel.com
Thu Jul 21 07:54:09 UTC 2011



>-----Original Message-----
>From: openembedded-core-bounces at lists.openembedded.org
>[mailto:openembedded-core-bounces at lists.openembedded.org] On Behalf Of
>Richard Purdie
>Sent: Wednesday, July 20, 2011 10:34 PM
>To: Patches and discussions about the oe-core layer
>Subject: Re: [OE-core] [PATCH 2/2] perl-dynloader.patch: Fix libdir issue for
>multilib
>
>On Wed, 2011-07-20 at 16:48 +0800, Mei Lei wrote:
>> The perl-dynloader.patch can't support /usr/lib64, change the regular
>expression to support multilib.
>>
>> Signed-off-by: Mei Lei <lei.mei at intel.com>
>> ---
>>  .../perl/perl-5.12.3/perl-dynloader.patch          |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/meta/recipes-devtools/perl/perl-5.12.3/perl-dynloader.patch
>b/meta/recipes-devtools/perl/perl-5.12.3/perl-dynloader.patch
>> index d5ea00f..a45af91 100644
>> --- a/meta/recipes-devtools/perl/perl-5.12.3/perl-dynloader.patch
>> +++ b/meta/recipes-devtools/perl/perl-5.12.3/perl-dynloader.patch
>> @@ -19,7 +19,7 @@ Update by Nitin A Kamble <nitin.a.kamble at intel.com>
>2011/04/21
>>  +    {
>>  +        my $hostlib = $ENV{PERLHOSTLIB};
>>  +        print STDERR "*** Module name IN: $modlibname\n";
>> -+        ($p1, $p2, $p3, $p4, $p5) = $modlibname =~
>m/(^(.*lib\/)?)((perl\/[0-9\.]*\/)?)(.*)$/;
>> ++        ($p1, $p2, $p3, $p4, $p5) = $modlibname =~
>m/(^(.*lib[0-9]*\/)?)((perl\/[0-9\.]*\/)?)(.*)$/;
>>  +        print STDERR "*** p1: $p1  p3: $p3  p5: $p5\n";
>>  +        if ( $p1 ne "" ) {
>>  +            $modlibname = $hostlib.$p5;
>
>We might need to relax this a little further since we might want things
>like libx32 to work in future?

Hi Nitin,
	I am not sure what is the perl work style under libx32, can you supply some information about it?

Thanks
Lei


>
>Cheers,
>
>Richard
>
>
>
>_______________________________________________
>Openembedded-core mailing list
>Openembedded-core at lists.openembedded.org
>http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




More information about the Openembedded-core mailing list