From: Jan Ehrhardt Date: Wed, 1 Jan 2020 21:28:40 +0000 (+0100) Subject: Add cryp32.lib to config.w32 dependent libs X-Git-Tag: v4.0.0beta1~5 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=92ebc45a45d1cd712ea9d8d9fcf8b64b115939df;ds=sidebyside Add cryp32.lib to config.w32 dependent libs When linking to a libcurl_a.lib that is compiled with Schannel (--with-winssl) cryp32.lib is needed as dependant lib. See https://github.com/curl/curl/issues/1147#issuecomment-263408263 for instance. --- diff --git a/config.w32 b/config.w32 index c37c61b..68006df 100644 --- a/config.w32 +++ b/config.w32 @@ -123,6 +123,7 @@ if (PHP_HTTP != "no") { CHECK_LIB("normaliz.lib", "http", PHP_HTTP) && CHECK_LIB("libssl.lib;ssleay32.lib", "http", PHP_HTTP) && CHECK_LIB("libcrypto.lib;libeay32.lib", "http", PHP_HTTP) && + CHECK_LIB("crypt32.lib;libeay32.lib", "http", PHP_HTTP) && CHECK_LIB("zlib.lib;zlib_a.lib", "http", PHP_HTTP) && ADD_EXTENSION_DEP("http", "propro", true) && ADD_EXTENSION_DEP("http", "raphf", true) &&