VC-32.pl: default to nasm if neither nasm or nasmw is is found at the moment.
authorAndy Polyakov <appro@openssl.org>
Mon, 13 Sep 2010 16:15:17 +0000 (16:15 +0000)
committerAndy Polyakov <appro@openssl.org>
Mon, 13 Sep 2010 16:15:17 +0000 (16:15 +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
        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 {
        $asmtype="win32n";
        $afile='-o ';
 } else {