Skip to content

Commit e7ac97d

Browse files
committed
Merged pull request #143
2 parents e21a2d4 + 2bb862f commit e7ac97d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config.w32

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
ARG_ENABLE("mongodb", "MongoDB support", "no");
44
ARG_WITH("mongodb-sasl", "MongoDB: Build against Cyrus-SASL", "yes");
5-
ADD_EXTENSION_DEP("mongodb", "openssl", false);
65

76
if (PHP_MONGODB != "no") {
7+
ADD_EXTENSION_DEP("mongodb", "openssl", false);
8+
89
ADD_FLAG("CFLAGS_MONGODB", " /I" + configure_module_dirname + " /I" + configure_module_dirname + "/src/libmongoc/src/mongoc" + " /I" + configure_module_dirname + "/src/libbson/src/bson/ /I" + configure_module_dirname + "/src/libbson/src /I" + configure_module_dirname + "/src/contrib /D HAVE_MONGODB_SASL=1 /D BSON_COMPILATION=1 /D MONGOC_COMPILATION=1 /D MONGOC_TRACE=1 /D MONGOC_NO_AUTOMATIC_GLOBALS=1 /D BSON_EXTRA_ALIGN=0");
910
EXTENSION("mongodb", "php_phongo.c");
1011
ADD_SOURCES(configure_module_dirname + "/src", "bson.c", "mongodb");

0 commit comments

Comments
 (0)