VC-32.pl: default to nasm if neither nasm or nasmw is is found at the moment.

PR: 2338
This commit is contained in:
Andy Polyakov 2010-09-13 16:15:17 +00:00
parent f8927c89d0
commit bc9092f726

View 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 {