util/pl/VC-32.pl: bufferoverflowu.lib only when actually needed [from HEAD].

PR: 2086
This commit is contained in:
Andy Polyakov 2010-01-07 11:04:49 +00:00
parent f244ed3ed2
commit 2e24bc421d

View file

@ -153,7 +153,8 @@ if ($FLAVOR =~ /CE/)
else
{
$ex_libs.=' gdi32.lib crypt32.lib advapi32.lib user32.lib';
$ex_libs.=' bufferoverflowu.lib' if ($FLAVOR =~ /WIN64/);
$ex_libs.=' bufferoverflowu.lib' if ($FLAVOR =~ /WIN64/ and `cl 2>&1` =~ /14\.00\.4[0-9]{4}\./);
}
# As native NT API is pure UNICODE, our WIN-NT build defaults to UNICODE,