blob: fa0f9daf965c8d8e6864d6392aeebbbe8001da4d [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001From 593dd52f535b1f439dfd0afe52211ae8960e980a Mon Sep 17 00:00:00 2001
2From: Niko Tyni <ntyni@debian.org>
3Date: Sun, 24 Aug 2014 12:56:11 -0700
4Subject: Pass LD settings through to subdirectories
5
6[rt.cpan.org #28632] fixed most issues with passing LD down to
7subdirectory Makefile.PL files. However, there are some distributions
8(including Wx, Par::Packer, and Verilog-Perl) that explicitly set
9LD. Those still can't be overridden from the command line. Adding LD to
10the PASTHRU list fixes this.
11
12Bug-Debian: https://bugs.debian.org/758471
13Patch-Name: debian/makemaker-pasthru.diff
14---
15 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
19index 4a8e14c..548d98e 100644
20--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
21+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
22@@ -2793,7 +2793,7 @@ sub pasthru {
23 my($sep) = $Is{VMS} ? ',' : '';
24 $sep .= "\\\n\t";
25
26- foreach my $key (qw(LIB LIBPERL_A LINKTYPE OPTIMIZE
27+ foreach my $key (qw(LIB LIBPERL_A LINKTYPE OPTIMIZE LD
28 PREFIX INSTALL_BASE)
29 )
30 {