x86_64 assembly pack: make Windows build more robust.
[oweals/openssl.git] / engines / asm / e_padlock-x86_64.pl
index 5d197579616c74921ed8044f33760f0e3b710a6d..f8ba1e909f3d9420bcf81c27a96411c07f4fa301 100644 (file)
@@ -23,7 +23,8 @@ $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
 ( $xlate="${dir}../../crypto/perlasm/x86_64-xlate.pl" and -f $xlate) or
 die "can't locate x86_64-xlate.pl";
 
-open STDOUT,"| \"$^X\" $xlate $flavour $output";
+open OUT,"| \"$^X\" $xlate $flavour $output";
+*STDOUT=*OUT;
 
 $code=".text\n";