blob: 5f071808935b4b9939af6d0f56c23f5cbdf0d243 [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
Brad Bishopd7bf8c12018-02-25 22:55:05 -050014Upstream-Status: Pending
Patrick Williamsc124f4f2015-09-15 14:41:29 -050015---
16 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
20index 4a8e14c..548d98e 100644
21--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
22+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
23@@ -2793,7 +2793,7 @@ sub pasthru {
24 my($sep) = $Is{VMS} ? ',' : '';
25 $sep .= "\\\n\t";
26
27- foreach my $key (qw(LIB LIBPERL_A LINKTYPE OPTIMIZE
28+ foreach my $key (qw(LIB LIBPERL_A LINKTYPE OPTIMIZE LD
29 PREFIX INSTALL_BASE)
30 )
31 {