Mingw32 fixup for Embed.t
Nick Ing-Simmons [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 {