From 92ebc45a45d1cd712ea9d8d9fcf8b64b115939df Mon Sep 17 00:00:00 2001 From: Jan Ehrhardt Date: Wed, 1 Jan 2020 22:28:40 +0100 Subject: [PATCH] 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. --- config.w32 | 1 + 1 file changed, 1 insertion(+) 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) && -- 2.30.2