diff options
Diffstat (limited to 'meta/recipes-devtools/perl/perl/perl-dynloader.patch')
-rw-r--r-- | meta/recipes-devtools/perl/perl/perl-dynloader.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/recipes-devtools/perl/perl/perl-dynloader.patch b/meta/recipes-devtools/perl/perl/perl-dynloader.patch index 035beba66a..2572067a6e 100644 --- a/meta/recipes-devtools/perl/perl/perl-dynloader.patch +++ b/meta/recipes-devtools/perl/perl/perl-dynloader.patch | |||
@@ -7,13 +7,13 @@ system. | |||
7 | 7 | ||
8 | Update by Nitin A Kamble <nitin.a.kamble@intel.com> 2011/04/21 | 8 | Update by Nitin A Kamble <nitin.a.kamble@intel.com> 2011/04/21 |
9 | 9 | ||
10 | Index: perl-5.14.2/dist/XSLoader/XSLoader_pm.PL | 10 | Index: perl-5.24.1/dist/XSLoader/XSLoader_pm.PL |
11 | =================================================================== | 11 | =================================================================== |
12 | --- perl-5.14.2.orig/dist/XSLoader/XSLoader_pm.PL | 12 | --- perl-5.24.1.orig/dist/XSLoader/XSLoader_pm.PL |
13 | +++ perl-5.14.2/dist/XSLoader/XSLoader_pm.PL | 13 | +++ perl-5.24.1/dist/XSLoader/XSLoader_pm.PL |
14 | @@ -28,6 +28,20 @@ sub load { | 14 | @@ -52,6 +52,20 @@ sub load { |
15 | 15 | my ($caller, $modlibname) = caller(); | |
16 | my ($module, $modlibname) = caller(); | 16 | my $module = $caller; |
17 | 17 | ||
18 | + # OE: Allow env to form dynamic loader to look in a different place | 18 | + # OE: Allow env to form dynamic loader to look in a different place |
19 | + # This is so it finds the host .so files, not the targets | 19 | + # This is so it finds the host .so files, not the targets |
@@ -30,5 +30,5 @@ Index: perl-5.14.2/dist/XSLoader/XSLoader_pm.PL | |||
30 | + } | 30 | + } |
31 | + | 31 | + |
32 | if (@_) { | 32 | if (@_) { |
33 | $module = $_[0]; | 33 | $module = $_[0]; |
34 | } else { | 34 | } else { |