Skip to content
This repository was archived by the owner on Feb 1, 2022. It is now read-only.

Commit ec3b84c

Browse files
committed
Make sure things actually link on Windows
1 parent 03f77df commit ec3b84c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config.w32

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,9 @@ if (PHP_MONGO != "no") {
2727
WARNING("mongo libsasl support not enabled, libs not found");
2828
}
2929
}
30+
31+
if (CHECK_LIB("ssleay32.lib", "mongo", PHP_MONGO) && CHECK_LIB("libeay32.lib", "mongo", PHP_MONGO)) {
32+
ADD_FLAG("CFLAGS_MONGO", " /D HAVE_MONGO_SSLLIB=1");
33+
}
3034
}
3135

0 commit comments

Comments
 (0)