@@ -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 ,
@@ -260,7 +260,7 @@ if (PHP_MONGODB != "no") {
260260 var PHP_MONGODB_MONGOCRYPT_KMS_MESSAGE_SOURCES = "hexlify.c kms_b64.c kms_caller_identity_request.c kms_crypto_apple.c kms_crypto_libcrypto.c kms_crypto_none.c kms_crypto_windows.c kms_decrypt_request.c kms_encrypt_request.c kms_kv_list.c kms_message.c kms_request.c kms_request_opt.c kms_request_str.c kms_response.c kms_response_parser.c sort.c" ;
261261
262262 ADD_SOURCES ( configure_module_dirname + "/src/libmongocrypt/src" , PHP_MONGODB_MONGOCRYPT_SOURCES , "mongodb" ) ;
263- ADD_SOURCES ( configure_module_dirname + "/src/libmongocrypt/src/crypto" , PHP_MONGODB_MONGOCRYPT_SOURCES , "mongodb" ) ;
263+ ADD_SOURCES ( configure_module_dirname + "/src/libmongocrypt/src/crypto" , PHP_MONGODB_MONGOCRYPT_CRYPTO_SOURCES , "mongodb" ) ;
264264 ADD_SOURCES ( configure_module_dirname + "/src/libmongocrypt/src/os_posix" , PHP_MONGODB_MONGOCRYPT_OS_POSIX_SOURCES , "mongodb" ) ;
265265 ADD_SOURCES ( configure_module_dirname + "/src/libmongocrypt/src/os_win" , PHP_MONGODB_MONGOCRYPT_OS_WIN_SOURCES , "mongodb" ) ;
266266 ADD_SOURCES ( configure_module_dirname + "/src/libmongocrypt/kms-message/src" , PHP_MONGODB_MONGOCRYPT_KMS_MESSAGE_SOURCES , "mongodb" ) ;
0 commit comments