Stop nasm/nasmw test complaining on stderr.

This commit is contained in:
Dr. Stephen Henson 2008-01-04 00:40:00 +00:00
parent 3b0e61a812
commit 496970b233

View File

@ -160,8 +160,8 @@ $lfile='/out:';
$shlib_ex_obj="";
$app_ex_obj="setargv.obj" if ($FLAVOR !~ /CE/);
if ($nasm) {
my $ver=`nasm -v`;
my $vew=`nasmw -v`;
my $ver=`nasm -v 2>NUL`;
my $vew=`nasmw -v 2>NUL`;
# pick newest version
$asm=($ver gt $vew?"nasm":"nasmw")." -f win32";
$afile='-o ';