This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
remove hardcoded version number from cygwin/perlld.in
[perl5.git] / cygwin / perlld.in
index 773bb66..0e30c39 100644 (file)
@@ -46,7 +46,8 @@ if ($args !~ /\-o (\S+)/) {
     $path =~ s,[/\\](\.[/\\])*,/,g;
   }
   if ($dllname =~ /\./) { $libname =$`; } else { $libname =$dllname; };
-  my $v_e_r_s = '5_9_0';
+  my $v_e_r_s = '@VERSION@';
+  $v_e_r_s =~ tr/./_/;
   if ( $dllname =~ /libperl.*/) { 
     $dllname ="cygperl$v_e_r_s.dll";
   } else {