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

PR: 2338
This commit is contained in:
Andy Polyakov 2010-09-13 16:29:00 +00:00
parent 9447da5065
commit e011160f3c

View File

@ -138,8 +138,8 @@ else
}
# generate symbols.pdb unconditionally
$app_cflag.=" /Zi /Fd$tmp_def/app";
$lib_cflag.=" /Zi /Fd$tmp_def/lib";
$app_cflag.=" /Zi /Fd\$(TMP_D)/app";
$lib_cflag.=" /Zi /Fd\$(TMP_D)/lib";
$lflags.=" /debug";
$obj='.obj';
@ -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 {