canonicalize path for $(FULLPERL) and $(PERL) in MakeMaker
authorGurusamy Sarathy <gsar@cpan.org>
Fri, 14 May 1999 03:04:44 +0000 (03:04 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Fri, 14 May 1999 03:04:44 +0000 (03:04 +0000)
p4raw-id: //depot/perl@3417

lib/ExtUtils/MM_Unix.pm

index 40a8256..f3af6e7 100644 (file)
@@ -1853,7 +1853,7 @@ usually solves this kind of problem.
        push @defpath, $component if defined $component;
     }
     $self->{PERL} ||=
-        $self->find_perl(5.0, [ $^X, 'miniperl','perl','perl5',"perl$]" ],
+        $self->find_perl(5.0, [ $self->canonpath($^X), 'miniperl','perl','perl5',"perl$]" ],
            \@defpath, $Verbose );
     # don't check if perl is executable, maybe they have decided to
     # supply switches with perl