This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Mingw32 fixup for Embed.t
authorNick Ing-Simmons <nik@tiuk.ti.com>
Sun, 28 Oct 2001 16:08:14 +0000 (16:08 +0000)
committerNick Ing-Simmons <nik@tiuk.ti.com>
Sun, 28 Oct 2001 16:08:14 +0000 (16:08 +0000)
p4raw-id: //depot/perlio@12745

lib/ExtUtils/Embed.t

index 4feb042..08c7cab 100644 (file)
@@ -36,7 +36,7 @@ if ($^O eq 'MSWin32') {
        push(@cmd,'-link',"-libpath:$lib",$Config{'libperl'},$Config{'libc'});
     }
     else {
-       push(@cmd,"-L$lib",'-lperl',$Config{'libc'});
+       push(@cmd,"-L$lib",File::Spec->catfile($lib,$Config{'libperl'}),$Config{'libc'});
     }
 }
 else {