From: Andy Polyakov Date: Thu, 7 Jan 2010 11:04:49 +0000 (+0000) Subject: util/pl/VC-32.pl: bufferoverflowu.lib only when actually needed [from HEAD]. X-Git-Tag: OpenSSL_0_9_8m-beta1~17 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2e24bc421d58326b339f757bd62feb69676e484b;p=oweals%2Fopenssl.git util/pl/VC-32.pl: bufferoverflowu.lib only when actually needed [from HEAD]. PR: 2086 --- 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,