This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: Perl @ http://www.ccl4.org/~nick/P/perl-33444.tar.bz2
[perl5.git] / lib / ExtUtils / t / Embed.t
index d1edcbb..79f6dbc 100644 (file)
@@ -106,7 +106,7 @@ if ($^O eq 'VMS') {
     }
    }
    elsif ($^O eq 'cygwin') { # Cygwin needs the shared libperl copied
-     my $v_e_r_s = $Config{version};
+     my $v_e_r_s = substr($Config{version},0,-2);
      $v_e_r_s =~ tr/./_/;
      system("cp ../cygperl$v_e_r_s.dll ./");    # for test 1
    }