File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ if test "$PHP_MONGODB" != "no"; then
283
283
if test "$PHP_MONGODB_SYSTEM_LIBS" = "no"; then
284
284
PHP_MONGODB_BUNDLED_CFLAGS="$STD_CFLAGS -DBSON_COMPILATION -DMONGOC_COMPILATION"
285
285
dnl TODO: MONGOCRYPT-219 makes the -std argument obsolete
286
- PHP_MONGODB_LIBMONGOCRYPT_CFLAGS="$PHP_MONGODB_BUNDLED_CFLAGS -DKMS_MSG_STATIC -std=gnu99"
286
+ PHP_MONGODB_LIBMONGOCRYPT_CFLAGS="-DKMS_MSG_STATIC -std=gnu99"
287
287
288
288
dnl M4 doesn't know if we're building statically or as a shared module, so
289
289
dnl attempt to include both paths while ignoring errors. If neither path
@@ -421,6 +421,7 @@ if test "$PHP_MONGODB" != "no"; then
421
421
dnl Generated with: find src/libmongocrypt/kms-message/src -maxdepth 1 -name '*.c' -print0 | cut -sz -d / -f 5- | sort -dz | tr '\000' ' '
422
422
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"
423
423
424
+ PHP_MONGODB_LIBMONGOCRYPT_CFLAGS="$PHP_MONGODB_BUNDLED_CFLAGS $PHP_MONGODB_LIBMONGOCRYPT_CFLAGS"
424
425
PHP_MONGODB_ADD_SOURCES([ src/libmongocrypt/src/] , $PHP_MONGODB_MONGOCRYPT_SOURCES, $PHP_MONGODB_LIBMONGOCRYPT_CFLAGS)
425
426
PHP_MONGODB_ADD_SOURCES([ src/libmongocrypt/src/crypto/] , $PHP_MONGODB_MONGOCRYPT_CRYPTO_SOURCES, $PHP_MONGODB_LIBMONGOCRYPT_CFLAGS)
426
427
PHP_MONGODB_ADD_SOURCES([ src/libmongocrypt/src/os_posix/] , $PHP_MONGODB_MONGOCRYPT_OS_POSIX_SOURCES, $PHP_MONGODB_LIBMONGOCRYPT_CFLAGS)
You can’t perform that action at this time.
0 commit comments