diff options
author | Mei Lei <lei.mei@intel.com> | 2011-07-25 10:13:17 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-25 14:13:20 +0100 |
commit | 7ebc7a5cb30e13217dc297994a6d9656b52bacba (patch) | |
tree | 48bdc47b1c61992afb484daaf5ac73c1811c8653 /meta/recipes-devtools | |
parent | ab5544ac801a976b56468ade0f5d2e95c11feb87 (diff) | |
download | openembedded-core-7ebc7a5cb30e13217dc297994a6d9656b52bacba.tar.gz openembedded-core-7ebc7a5cb30e13217dc297994a6d9656b52bacba.tar.bz2 openembedded-core-7ebc7a5cb30e13217dc297994a6d9656b52bacba.tar.xz openembedded-core-7ebc7a5cb30e13217dc297994a6d9656b52bacba.zip |
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.
Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/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 d5ea00f2d..1840605df 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 + { + 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\w*\/)?)((perl\/[0-9\.]*\/)?)(.*)$/; + print STDERR "*** p1: $p1 p3: $p3 p5: $p5\n"; + if ( $p1 ne "" ) { + $modlibname = $hostlib.$p5; |