From: John Peacock <jpeacock@rowman.com>
Date: Fri, 30 Nov 2001 10:24:00 +0000 (-0500)
Subject: Cygwin failures with lib/ExtUtils/Embed.t
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e6de440e4306cc5058e8730590a5ce694ae89bab;p=p5sagit%2Fp5-mst-13.2.git

Cygwin failures with lib/ExtUtils/Embed.t
Message-ID: <3C07A490.A22A76B0@rowman.com>

p4raw-id: //depot/perl@13387
---

diff --git a/lib/ExtUtils/Embed.t b/lib/ExtUtils/Embed.t
index 36d92b5..b56d233 100644
--- a/lib/ExtUtils/Embed.t
+++ b/lib/ExtUtils/Embed.t
@@ -78,7 +78,7 @@ if ($^O eq 'VMS') {
         s!-bE:(\S+)!-bE:$perl_exp!;
     }
    } elsif ($^O eq 'cygwin') { # Cygwin needs the libperl copied
-     system("cp ../$Config{'libperl'} libperl.dll");    # for test 1
+     system("cp ../$Config{'libperl'} ../libperl.dll");    # for test 1
    }
 }
 my $status;
@@ -99,7 +99,7 @@ $status = system($embed_test);
 print (($status? 'not ':'')."ok 9 # $status\n");
 unlink($exe,"embed_test.c",$obj);
 unlink("embed_test.map","embed_test.lis") if $^O eq 'VMS';
-unlink("libperl.dll") if $^O eq 'cygwin';
+unlink("../libperl.dll") if $^O eq 'cygwin';
 
 # gcc -g -I.. -L../ -o perl_test perl_test.c -lperl `../perl -I../lib -MExtUtils::Embed -I../ -e ccopts -e ldopts`