Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 218249 Details for
Bug 134650
dev-lang/perl: cross-compile support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
/files/perl-dynloader.patch (for perl and libperl)
perl-dynloader.patch (text/plain), 1019 bytes, created by
Peter Levine
on 2010-02-03 02:32:41 UTC
(
hide
)
Description:
/files/perl-dynloader.patch (for perl and libperl)
Filename:
MIME Type:
Creator:
Peter Levine
Created:
2010-02-03 02:32:41 UTC
Size:
1019 bytes
patch
obsolete
>Allow the location that .so files are searched for for dynamic >loading to be changed via an environment variable. This is to allow >us to load .so's from the host system while building for the target >system. > >--- perl-5.8.8/ext/DynaLoader/XSLoader_pm.PL 2007/04/20 09:03:08 1.1 >+++ perl-5.8.8/ext/DynaLoader/XSLoader_pm.PL 2007/04/20 09:41:28 >@@ -65,6 +65,15 @@ > print OUT <<'EOT'; > my $modpname = join('/',@modparts); > my $modlibname = (caller())[1]; >+ # OE: Allow env to form dynamic loader to look in a different place >+ # This is so it finds the host .so files, not the targets >+ if (defined $ENV{PERLHOSTLIB}) >+ { >+ my $hostlib = $ENV{PERLHOSTLIB}; >+ print STDERR "*** Module name IN: $modlibname\n"; >+ $modlibname =~ s#(?<!/)(\.\./)*lib/#$hostlib/#g; >+ print STDERR "*** Module name OUT: $modlibname\n"; >+ } > my $c = @modparts; > $modlibname =~ s,[\\/][^\\/]+$,, while $c--; # Q&D basename > my $file = "$modlibname/auto/$modpname/$modfname.$dl_dlext";
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 134650
:
218243
|
218245
|
218247
|
218249
|
218251
|
218253
|
218255
|
218257
|
218259
|
218261
|
218263
|
218265
|
218267
|
218941
|
218947
|
218949
|
218953
|
229501
|
347478
|
351666
|
383286
|
447926
|
450836