Embed.t fails on Win32
Yves Orton [Tue, 28 May 2002 15:43:12 +0000 (17:43 +0200)]
From: "Yves Orton" <demerphq@hotmail.com>
Message-ID: <F170zgYLowspDKicUbv0000b23d@hotmail.com>

p4raw-id: //depot/perl@16833

lib/ExtUtils/t/Embed.t

index 4025318..6cb5cff 100644 (file)
@@ -73,10 +73,8 @@ if ($^O eq 'VMS') {
        push(@cmd,"-L$lib",File::Spec->catfile($lib,$Config{'libperl'}),$Config{'libc'});
     }
    }
-   else {
+   else { # Not MSWin32.
     push(@cmd,"-L$lib",'-lperl');
-   }
-   {
     local $SIG{__WARN__} = sub {
        warn $_[0] unless $_[0] =~ /No library found for .*perl/
     };