diff options
author | Gerrit P. Haase <gp@familiehaase.de> | 2002-01-27 23:30:41 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-01-27 22:36:08 +0000 |
commit | b53432e421f16fabc5e5530a1e2ce8c38d941676 (patch) | |
tree | 385555d9e411d81aab96e2b608779032e1a61d67 /lib/ExtUtils/t/Embed.t | |
parent | 9034b73c39ba035933bec3984d6d794720dc58e1 (diff) | |
download | perl-b53432e421f16fabc5e5530a1e2ce8c38d941676.tar.gz |
Bleadperl on Cygwin today
Message-ID: <462007239437.20020127223041@familiehaase.de>
p4raw-id: //depot/perl@14453
Diffstat (limited to 'lib/ExtUtils/t/Embed.t')
-rw-r--r-- | lib/ExtUtils/t/Embed.t | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/ExtUtils/t/Embed.t b/lib/ExtUtils/t/Embed.t index bf2d3e77ca..e3869dc982 100644 --- a/lib/ExtUtils/t/Embed.t +++ b/lib/ExtUtils/t/Embed.t @@ -88,11 +88,10 @@ if ($^O eq 'VMS') { s!-bE:(\S+)!-bE:$perl_exp!; } } - elsif ($^O eq 'cygwin') { # Cygwin needs the libperl copied + elsif ($^O eq 'cygwin') { # Cygwin needs the shared libperl copied my $v_e_r_s = $Config{version}; $v_e_r_s =~ tr/./_/; - system("cp ../libperl$v_e_r_s.dll ./"); # for test 1 - system("cp ../$Config{'libperl'} ../libperl.a"); # for test 1 + system("cp ../cygperl$v_e_r_s.dll ./"); # for test 1 } elsif ($Config{'libperl'} !~ /\Alibperl\./) { # Everyone needs libperl copied if it's not found by '-lperl'. @@ -129,8 +128,7 @@ print (($status? 'not ':'')."ok 9 # $status\n"); unlink($exe,"embed_test.c",$obj); unlink("$exe$Config{exe_ext}") if $skip_exe; unlink("embed_test.map","embed_test.lis") if $^O eq 'VMS'; -unlink(glob("./libperl*.dll")) if $^O eq 'cygwin'; -unlink("../libperl.a") if $^O eq 'cygwin'; +unlink(glob("./*.dll")) if $^O eq 'cygwin'; unlink($testlib) if $libperl_copied; # gcc -g -I.. -L../ -o perl_test perl_test.c -lperl `../perl -I../lib -MExtUtils::Embed -I../ -e ccopts -e ldopts` |