diff options
author | Craig A. Berry <craigberry@mac.com> | 2002-01-03 11:32:20 -0600 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-01-04 14:33:09 +0000 |
commit | 1b9d2259b7700fa4b31158f57979a8a7f0faaa59 (patch) | |
tree | 7d2d69a62a6b5eca41ea9e034e1f2d94238e4978 /lib/ExtUtils | |
parent | 08ce8fc6c711b96a43427a2fe173f1d81abd18c2 (diff) | |
download | perl-1b9d2259b7700fa4b31158f57979a8a7f0faaa59.tar.gz |
Devel::PPPort Makefile.PL umpteenth try
Message-Id: <a05101004b85a82bb7352@[172.16.52.1]>
p4raw-id: //depot/perl@14055
Diffstat (limited to 'lib/ExtUtils')
-rw-r--r-- | lib/ExtUtils/MM_Unix.pm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm index fd03d560dd..6c08d9a2c6 100644 --- a/lib/ExtUtils/MM_Unix.pm +++ b/lib/ExtUtils/MM_Unix.pm @@ -2049,20 +2049,22 @@ usually solves this kind of problem. # Are we building the core? $self->{PERL_CORE} = 0 unless exists $self->{PERL_CORE}; + my $aq = ($^O eq 'VMS' ? '"' : ''); # command-line argument quoter + # How do we run perl? $self->{PERLRUN} = $self->{PERL}; - $self->{PERLRUN} .= ' -I$(PERL_LIB)' if $self->{UNINSTALLED_PERL}; + $self->{PERLRUN} .= " -${aq}I\$(PERL_LIB)$aq" if $self->{UNINSTALLED_PERL}; # How do we run perl when installing libraries? - $self->{PERLRUNINST} .= $self->{PERLRUN}. ' -I$(INST_ARCHLIB) -I$(INST_LIB)'; + $self->{PERLRUNINST} .= $self->{PERLRUN}. " -${aq}I\$(INST_ARCHLIB)$aq -${aq}I\$(INST_LIB)$aq"; # What extra library dirs do we need when running the tests? - $self->{TEST_LIBS} .= ' -I$(INST_ARCHLIB) -I$(INST_LIB)'; + $self->{TEST_LIBS} .= " -${aq}I\$(INST_ARCHLIB)$aq -${aq}I\$(INST_LIB)$aq"; # When building the core, we need to add some helper libs since # perl's @INC won't work (we're not installed yet). foreach my $targ (qw(PERLRUN PERLRUNINST TEST_LIBS)) { - $self->{$targ} .= ' -I$(PERL_ARCHLIB) -I$(PERL_LIB)' + $self->{$targ} .= " -${aq}I\$(PERL_ARCHLIB)$aq -${aq}I\$(PERL_LIB)$aq" if $self->{PERL_CORE}; } } |