diff options
Diffstat (limited to 'meta/recipes-devtools/perl/perl/dynaloaderhack.patch')
-rw-r--r-- | meta/recipes-devtools/perl/perl/dynaloaderhack.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/meta/recipes-devtools/perl/perl/dynaloaderhack.patch b/meta/recipes-devtools/perl/perl/dynaloaderhack.patch deleted file mode 100644 index 719f07c9cc..0000000000 --- a/meta/recipes-devtools/perl/perl/dynaloaderhack.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | From 2e0ce5d27e70defd66ace0661af7c24daae34f8b Mon Sep 17 00:00:00 2001 | ||
2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
3 | Date: Sat, 19 Jan 2013 23:49:24 +0000 | ||
4 | Subject: [PATCH 7/8] perl: Add dyanloader build hack | ||
5 | |||
6 | Hack the dynamic module loader so that we use native modules since we can't load | ||
7 | the target ones. | ||
8 | |||
9 | Upstream-Status: Inappropriate | ||
10 | |||
11 | RP | ||
12 | 2013/01/13 | ||
13 | |||
14 | --- | ||
15 | ext/DynaLoader/DynaLoader_pm.PL | 4 ++++ | ||
16 | 1 file changed, 4 insertions(+) | ||
17 | |||
18 | diff --git a/ext/DynaLoader/DynaLoader_pm.PL b/ext/DynaLoader/DynaLoader_pm.PL | ||
19 | index e828f35..4021559 100644 | ||
20 | --- a/ext/DynaLoader/DynaLoader_pm.PL | ||
21 | +++ b/ext/DynaLoader/DynaLoader_pm.PL | ||
22 | @@ -343,6 +343,10 @@ sub bootstrap { | ||
23 | foreach (@INC) { | ||
24 | <<$^O-eq-VMS>>chop($_ = VMS::Filespec::unixpath($_));<</$^O-eq-VMS>> | ||
25 | $dir = "$_/auto/$modpname"; | ||
26 | + | ||
27 | + if (defined $ENV{PERL_LIB} and defined $ENV{PERLHOSTLIB}) { | ||
28 | + $dir =~ s/$ENV{PERL_LIB}/$ENV{PERLHOSTLIB}/g; | ||
29 | + } | ||
30 | |||
31 | next unless -d $dir; # skip over uninteresting directories | ||
32 | |||
33 | -- | ||
34 | 2.1.4 | ||
35 | |||