Skip to content

Commit f1b753c

Browse files
committed
Link against crypt32.lib in config.w32
1 parent 925fa27 commit f1b753c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config.w32

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ if (PHP_MONGODB != "no") {
118118

119119
if (CHECK_LIB("ssleay32.lib", "mongodb", PHP_MONGODB) &&
120120
CHECK_LIB("libeay32.lib", "mongodb", PHP_MONGODB) &&
121+
CHECK_LIB("crypt32.lib", "mongodb", PHP_MONGODB) &&
121122
CHECK_HEADER_ADD_INCLUDE("openssl/ssl.h", "CFLAGS_MONGOC")) {
122123
mongoc_opts.MONGOC_ENABLE_SSL_OPENSSL = 1;
123124
mongoc_opts.MONGOC_ENABLE_CRYPTO_LIBCRYPTO = 1;

0 commit comments

Comments
 (0)