From 0b2484ffc873091759ee5fbe17229bf2070757cc Mon Sep 17 00:00:00 2001 From: Stanley Cheung Date: Thu, 19 Mar 2020 01:52:50 -0700 Subject: [PATCH] PHP: Add allow fork flag to config.m4 --- src/php/ext/grpc/config.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/php/ext/grpc/config.m4 b/src/php/ext/grpc/config.m4 index 7260dbc72ef..5600df34ccf 100755 --- a/src/php/ext/grpc/config.m4 +++ b/src/php/ext/grpc/config.m4 @@ -86,7 +86,7 @@ if test "$PHP_GRPC" != "no"; then PHP_NEW_EXTENSION(grpc, byte_buffer.c call.c call_credentials.c channel.c \ channel_credentials.c completion_queue.c timeval.c server.c \ - server_credentials.c php_grpc.c, $ext_shared, , -Wall -Werror -std=c11) + server_credentials.c php_grpc.c, $ext_shared, , -Wall -Werror -std=c11 -DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1) fi if test "$PHP_COVERAGE" = "yes"; then