Commit 2e24bc42 authored by Andy Polyakov's avatar Andy Polyakov
Browse files

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

PR: 2086
parent f244ed3e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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,