summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMei Lei <lei.mei@intel.com>2011-07-25 10:13:17 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-25 14:36:30 +0100
commit4cb97ca18cf0dffcb30da01061deb7b72116b90f (patch)
treed20b44592e3d97a4fea7f23498540017c44d4e6d
parent05ca2756933d85b4c7578642e384fa9e6376b1cc (diff)
downloadpoky-4cb97ca18cf0dffcb30da01061deb7b72116b90f.tar.gz
perl-dynloader.patch: Fix multilib issue for perl
The perl-dynloader.patch can't support lib64 lib32, libx32, etc. Relax the regular expression to fix this issue. (From OE-Core rev: 7ebc7a5cb30e13217dc297994a6d9656b52bacba) Signed-off-by: Mei Lei <lei.mei@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.3/perl-dynloader.patch2
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 d5ea00f2da..1840605df1 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@intel.com> 2011/04/21
19+ { 19+ {
20+ my $hostlib = $ENV{PERLHOSTLIB}; 20+ my $hostlib = $ENV{PERLHOSTLIB};
21+ print STDERR "*** Module name IN: $modlibname\n"; 21+ print STDERR "*** Module name IN: $modlibname\n";
22+ ($p1, $p2, $p3, $p4, $p5) = $modlibname =~ m/(^(.*lib\/)?)((perl\/[0-9\.]*\/)?)(.*)$/; 22+ ($p1, $p2, $p3, $p4, $p5) = $modlibname =~ m/(^(.*lib\w*\/)?)((perl\/[0-9\.]*\/)?)(.*)$/;
23+ print STDERR "*** p1: $p1 p3: $p3 p5: $p5\n"; 23+ print STDERR "*** p1: $p1 p3: $p3 p5: $p5\n";
24+ if ( $p1 ne "" ) { 24+ if ( $p1 ne "" ) {
25+ $modlibname = $hostlib.$p5; 25+ $modlibname = $hostlib.$p5;