From 46033c32933726779353113ef7b120d46af6d18c Mon Sep 17 00:00:00 2001 From: David CARLIER Date: Sun, 6 Aug 2023 19:05:51 +0100 Subject: [PATCH] fpm: attempt to fix child process crash on macOs w/o the `OBJC_DISABLE_INITIALIZE_FORK_SAFETY` env var workaround. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 6cf6370fca3b..de00b2f67bff 100644 --- a/configure.ac +++ b/configure.ac @@ -375,6 +375,9 @@ case $host_alias in AC_MSG_ERROR([Problem with enabling atomic. Please check config.log for details.]) ]) ;; + *darwin*) + PHP_ADD_FRAMEWORK(Foundation) + ;; esac dnl Check for inet_aton in -lc, -lbind and -lresolv.