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
285
285
if test "$PHP_MONGODB_SYSTEM_LIBS" = "no"; then
286
286
PHP_MONGODB_BUNDLED_CFLAGS="$STD_CFLAGS -DBSON_COMPILATION -DMONGOC_COMPILATION"
287
287
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"
289
289
290
290
dnl M4 doesn't know if we're building statically or as a shared module, so
291
291
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") {
232
232
ADD_FLAG ( "CFLAGS_MONGODB" , "/I" + configure_module_dirname + "/src/libmongocrypt/src" ) ;
233
233
ADD_FLAG ( "CFLAGS_MONGODB" , "/I" + configure_module_dirname + "/src/libmongocrypt/kms-message/src" ) ;
234
234
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" ) ;
236
236
237
237
var mongocrypt_opts = {
238
238
MONGOCRYPT_ENABLE_TRACE : 1 ,
You can’t perform that action at this time.
0 commit comments