diff options
author | Jan Dubois <jand@activestate.com> | 1998-12-23 22:26:38 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1998-12-28 07:41:39 +0000 |
commit | ea5a1d84955cdb4dfb8693e183cb91d99a231b2f (patch) | |
tree | d575254b21725d5fb012d31220b77afda3f08f91 /lib | |
parent | be425529213e9b149dcb8e489b8c142dbfdda50e (diff) | |
download | perl-ea5a1d84955cdb4dfb8693e183cb91d99a231b2f.tar.gz |
subdirectory Makefiles should inherit CAPI setting from command line
To: makemaker@franz.ww.TU-Berlin.DE, perl5-porters@perl.org
Message-ID: <36895086.8849224@smtp1.ibm.net>
p4raw-id: //depot/cfgperl@2503
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ExtUtils/MakeMaker.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/ExtUtils/MakeMaker.pm b/lib/ExtUtils/MakeMaker.pm index 36afa91afe..6bc0f6cc67 100644 --- a/lib/ExtUtils/MakeMaker.pm +++ b/lib/ExtUtils/MakeMaker.pm @@ -439,7 +439,10 @@ sub ExtUtils::MakeMaker::new { unless $self->file_name_is_absolute($self->{$key}) || ($^O eq 'VMS' and ($key =~ /PERL$/ && $self->{$key} =~ /^[\w\-\$]+$/)); } - $self->{PARENT}->{CHILDREN}->{$newclass} = $self if $self->{PARENT}; + if ($self->{PARENT}) { + $self->{PARENT}->{CHILDREN}->{$newclass} = $self; + $self->{CAPI} = $self->{PARENT}->{CAPI}; + } } else { parse_args($self,split(' ', $ENV{PERL_MM_OPT} || ''),@ARGV); } |