if (CHECK_HEADER_ADD_INCLUDE("curl/curl.h", "CFLAGS_HTTP") &&
CHECK_HEADER_ADD_INCLUDE("openssl/crypto.h", "CFLAGS_HTTP") &&
CHECK_LIB(CURL_LIB, "http", PHP_HTTP) &&
- CHECK_LIB("ssleay32.lib", "http", PHP_HTTP) &&
- CHECK_LIB("libeay32.lib", "http", PHP_HTTP) &&
+ CHECK_LIB("libssl.lib;ssleay32.lib", "http", PHP_HTTP) &&
+ CHECK_LIB("libcrypto.lib;libeay32.lib", "http", PHP_HTTP) &&
CHECK_LIB("zlib.lib;zlib_a.lib", "http", PHP_HTTP) &&
CHECK_LIB("libcurl_a.lib", "http", PHP_HTTP) &&
ADD_EXTENSION_DEP("http", "propro", true) &&