MM_VMS tweak from Craig Berry:
Jarkko Hietaniemi [Wed, 2 Apr 2003 04:30:45 +0000 (04:30 +0000)]
http://nntp.x.perl.org/group/perl.makemaker/1002

p4raw-id: //depot/perl@19129

lib/ExtUtils/MM_VMS.pm

index cd68c5e..422f864 100644 (file)
@@ -2226,7 +2226,7 @@ sub init_linker {
     $self->{EXPORT_LIST} ||= '$(BASEEXT).opt';
 
     my $shr = $Config{dbgprefix} . 'PERLSHR';
-    $self->{PERL_ARCHIVE} ||=  $ENV{$shr} ? $ENV{$shr} : "Sys\$Share:$shr.$Config{'dlext'}";
+    $self->{PERL_ARCHIVE} ||= $self->catfile($self->{PERL_SRC},"$shr.$Config{'dlext'}");
 
     $self->{PERL_ARCHIVE_AFTER} ||= '';
 }