From 2e24bc421d58326b339f757bd62feb69676e484b Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Thu, 7 Jan 2010 11:04:49 +0000 Subject: [PATCH] util/pl/VC-32.pl: bufferoverflowu.lib only when actually needed [from HEAD]. PR: 2086 --- util/pl/VC-32.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/pl/VC-32.pl b/util/pl/VC-32.pl index 85121c8ed1..d4fefaf70a 100644 --- a/util/pl/VC-32.pl +++ b/util/pl/VC-32.pl @@ -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, -- 2.25.1