diff options
Diffstat (limited to 'lib/ExtUtils')
-rw-r--r-- | lib/ExtUtils/MakeMaker.pm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/ExtUtils/MakeMaker.pm b/lib/ExtUtils/MakeMaker.pm index 8191303cc7..640a074ff2 100644 --- a/lib/ExtUtils/MakeMaker.pm +++ b/lib/ExtUtils/MakeMaker.pm @@ -439,9 +439,10 @@ sub new { next unless defined $self->{PARENT}{$key}; # Don't stomp on WriteMakefile() args. - $self->{$key} = $self->{PARENT}{$key} - unless defined $self->{ARGS}{$key} and - $self->{ARGS}{$key} eq $self->{$key}; + next if defined $self->{ARGS}{$key} and + $self->{ARGS}{$key} eq $self->{$key}; + + $self->{$key} = $self->{PARENT}{$key}; unless ($Is_VMS && $key =~ /PERL$/) { $self->{$key} = $self->catdir("..",$self->{$key}) |