diff options
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.14.3/debian/ld_run_path.diff')
-rw-r--r-- | meta/recipes-devtools/perl/perl-5.14.3/debian/ld_run_path.diff | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.14.3/debian/ld_run_path.diff b/meta/recipes-devtools/perl/perl-5.14.3/debian/ld_run_path.diff new file mode 100644 index 0000000000..929328b0ca --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.3/debian/ld_run_path.diff | |||
@@ -0,0 +1,25 @@ | |||
1 | Upstream-Status:Inappropriate [debian patches] | ||
2 | From 704f6017119ce0301a9105944512120a38a43a02 Mon Sep 17 00:00:00 2001 | ||
3 | From: Brendan O'Dea <bod@debian.org> | ||
4 | Date: Fri, 18 Mar 2005 22:22:25 +1100 | ||
5 | Subject: Remove standard libs from LD_RUN_PATH as per Debian policy. | ||
6 | |||
7 | Patch-Name: debian/ld_run_path.diff | ||
8 | --- | ||
9 | .../ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm | 3 +++ | ||
10 | 1 files changed, 3 insertions(+), 0 deletions(-) | ||
11 | |||
12 | diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm | ||
13 | index cf4826f..eb212b5 100644 | ||
14 | --- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm | ||
15 | +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm | ||
16 | @@ -54,6 +54,9 @@ sub _unix_os2_ext { | ||
17 | my($pwd) = cwd(); # from Cwd.pm | ||
18 | my($found) = 0; | ||
19 | |||
20 | + # Debian-specific: don't use LD_RUN_PATH for standard dirs | ||
21 | + $ld_run_path_seen{$_}++ for @libpath; | ||
22 | + | ||
23 | foreach my $thislib (split ' ', $potential_libs) { | ||
24 | |||
25 | # Handle possible linker path arguments. | ||