diff options
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.12.2/debian/ld_run_path.diff')
-rw-r--r-- | meta/recipes-devtools/perl/perl-5.12.2/debian/ld_run_path.diff | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/ld_run_path.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/ld_run_path.diff new file mode 100644 index 0000000000..ffcfab9d5d --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/ld_run_path.diff | |||
@@ -0,0 +1,23 @@ | |||
1 | Subject: Remove standard libs from LD_RUN_PATH as per Debian policy. | ||
2 | |||
3 | |||
4 | --- | ||
5 | .../ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm | 3 +++ | ||
6 | 1 files changed, 3 insertions(+), 0 deletions(-) | ||
7 | |||
8 | diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm | ||
9 | index b807e97..6c955d7 100644 | ||
10 | --- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm | ||
11 | +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm | ||
12 | @@ -53,6 +53,9 @@ sub _unix_os2_ext { | ||
13 | my($pwd) = cwd(); # from Cwd.pm | ||
14 | my($found) = 0; | ||
15 | |||
16 | + # Debian-specific: don't use LD_RUN_PATH for standard dirs | ||
17 | + $ld_run_path_seen{$_}++ for qw(/lib /usr/lib /usr/X11R6/lib); | ||
18 | + | ||
19 | foreach my $thislib (split ' ', $potential_libs) { | ||
20 | |||
21 | # Handle possible linker path arguments. | ||
22 | -- | ||
23 | tg: (c823880..) debian/ld_run_path (depends on: upstream) | ||