More NASM support code it still doesn't work but it doesn't work less than it
[openssl.git] / util / pl / VC-32.pl
index 8082d2ef3c4b8b8f5affbc6cb7730e5d1fdf2325..6db1c9fe23742480b3b90cf4d43a33239da88af5 100644 (file)
@@ -49,10 +49,14 @@ $lfile='/out:';
 
 $shlib_ex_obj="";
 $app_ex_obj="setargv.obj";
 
 $shlib_ex_obj="";
 $app_ex_obj="setargv.obj";
-
-$asm='ml /Cp /coff /c /Cx';
-$asm.=" /Zi" if $debug;
-$afile='/Fo';
+if ($nasm) {
+       $asm='nasmw -f win32';
+       $afile='-o ';
+} else {
+       $asm='ml /Cp /coff /c /Cx';
+       $asm.=" /Zi" if $debug;
+       $afile='/Fo';
+}
 
 $bn_asm_obj='';
 $bn_asm_src='';
 
 $bn_asm_obj='';
 $bn_asm_src='';