diff options
Diffstat (limited to 'meta')
-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; |