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