From f35f7d9fbb77554379b55f666aeec6c64f365263 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 5 Jun 2008 10:56:51 +0000 Subject: [PATCH] Update from HEAD. --- util/pl/VC-32.pl | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/util/pl/VC-32.pl b/util/pl/VC-32.pl index 6f986fdb3e..bd4f0afb44 100644 --- a/util/pl/VC-32.pl +++ b/util/pl/VC-32.pl @@ -139,6 +139,7 @@ if ($FLAVOR =~ /CE/) else { $ex_libs.=' gdi32.lib advapi32.lib user32.lib'; + $ex_libs.=' cryptui.lib' if $cflags =~ /-DOPENSSL_CAPIENG_DIALOG/; $ex_libs.=' bufferoverflowu.lib' if ($FLAVOR =~ /WIN64/); } @@ -273,7 +274,14 @@ sub do_lib_rule if ($name eq "") { $ex.=' bufferoverflowu.lib' if ($FLAVOR =~ /WIN64/); - $ex.=' crypt32.lib advapi32.lib' if ($target =~ /capi/); + if ($target =~ /capi/) + { + $ex.=' crypt32.lib advapi32.lib'; + if ($cflags =~ /-DOPENSSL_CAPIENG_DIALOG/) + { + $ex.=' cryptui.lib'; + } + } } elsif ($FLAVOR =~ /CE/) { @@ -284,6 +292,7 @@ sub do_lib_rule $ex.=' unicows.lib' if ($FLAVOR =~ /NT/); $ex.=' wsock32.lib gdi32.lib advapi32.lib user32.lib'; $ex.=' crypt32.lib'; + $ex.=' cryptui.lib' if $cflags =~ /-DOPENSSL_CAPIENG_DIALOG/; $ex.=' bufferoverflowu.lib' if ($FLAVOR =~ /WIN64/); } $ex.=" $zlib_lib" if $zlib_opt == 1 && $target =~ /O_CRYPTO/; -- 2.25.1