VC-32.pl: default to nasm if neither nasm or nasmw is is found at the moment [from...
authorAndy Polyakov <appro@openssl.org>
Mon, 13 Sep 2010 16:28:34 +0000 (16:28 +0000)
committerAndy Polyakov <appro@openssl.org>
Mon, 13 Sep 2010 16:28:34 +0000 (16:28 +0000)
PR: 2338

util/pl/VC-32.pl

index 61a16bb09bcf429e944af7c136f1cb2265b9719c..5f25fc41bfa7bf9936b4b33ce2fbda4733edbffa 100644 (file)
@@ -195,7 +195,7 @@ if ($FLAVOR =~ /WIN64A/) {
        my $ver=`nasm -v 2>NUL`;
        my $vew=`nasmw -v 2>NUL`;
        # pick newest version
-       $asm=($ver gt $vew?"nasm":"nasmw")." -f win32";
+       $asm=($ver ge $vew?"nasm":"nasmw")." -f win32";
        $asmtype="win32n";
        $afile='-o ';
 } else {