Automate assembler support for Win64 targets (more work is needed).
[openssl.git] / util / mk1mf.pl
index d4cc3d96552c95a7e31f65d753f21bb600b92ce7..cf29bf804d00b2f17fe42a29010e593557657b0b 100755 (executable)
@@ -871,6 +871,7 @@ sub do_compile_rule
                        $ret.=&cc_compile_target("$to${o}$n$obj","${_}.c",$ex)
                        }
                elsif (-f ($s="${d}${o}asm${o}${n}.pl") or
+                      ($s=~s/sha256/sha512/ and -f $s) or
                       -f ($s="${d}${o}${n}.pl"))
                        {
                        $ret.=&perlasm_compile_target("$to${o}$n$obj",$s,$n);