File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ if test "$PHP_MONGODB" != "no"; then
285285 if test "$PHP_MONGODB_SYSTEM_LIBS" = "no"; then
286286 PHP_MONGODB_BUNDLED_CFLAGS="$STD_CFLAGS -DBSON_COMPILATION -DMONGOC_COMPILATION"
287287 dnl TODO: MONGOCRYPT-219 makes the -std argument obsolete
288- PHP_MONGODB_LIBMONGOCRYPT_CFLAGS="$PHP_MONGODB_BUNDLED_CFLAGS -std=gnu99"
288+ PHP_MONGODB_LIBMONGOCRYPT_CFLAGS="$PHP_MONGODB_BUNDLED_CFLAGS -DKMS_MSG_STATIC - std=gnu99"
289289
290290 dnl M4 doesn't know if we're building statically or as a shared module, so
291291 dnl attempt to include both paths while ignoring errors. If neither path
Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ if (PHP_MONGODB != "no") {
232232 ADD_FLAG ( "CFLAGS_MONGODB" , "/I" + configure_module_dirname + "/src/libmongocrypt/src" ) ;
233233 ADD_FLAG ( "CFLAGS_MONGODB" , "/I" + configure_module_dirname + "/src/libmongocrypt/kms-message/src" ) ;
234234 ADD_FLAG ( "CFLAGS_MONGODB" , "/I" + configure_module_dirname + "/src/libmongocrypt-compat" ) ;
235- ADD_FLAG ( "CFLAGS_MONGODB" , "/D KMS_MESSAGE_ENABLE_CRYPTO=1 /D KMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO=1" ) ;
235+ ADD_FLAG ( "CFLAGS_MONGODB" , "/D KMS_MSG_STATIC=1 /D KMS_MESSAGE_ENABLE_CRYPTO=1 /D KMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO=1" ) ;
236236
237237 var mongocrypt_opts = {
238238 MONGOCRYPT_ENABLE_TRACE : 1 ,
You can’t perform that action at this time.
0 commit comments