# perlld parameters
#
-# this one is pretty mandatory
+# these ones are mandatory
DLLWRAP = 'dllwrap'
+VERSION = '$version'
# following are optional.
WRAPDRIVER = gcc
-e s,@WRAPDRIVER@,\${WRAPDRIVER},g -e s,@DLLTOOL@,\${DLLTOOL},g \\
-e s,@AS@,\${AS},g -e s,@EXPORT_ALL@,\${EXPORT_ALL},g \\
-e s,@DEF_EXT@,\${DEF_EXT},g -e s,@EXP_EXT@,\${EXP_EXT},g \\
- -e s,@LIB_EXT@,\${LIB_EXT},g \\
+ -e s,@LIB_EXT@,\${LIB_EXT},g -e s,@VERSION@,\${VERSION},g \\
${src}/cygwin/perlld.in >perlld
!GROK!THIS!
$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 {