From 118fa69e70ef7543c417244c845e06a260e9edae Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sat, 25 Jul 2020 17:15:54 +0000 Subject: [PATCH] Check for shm_open() in libroot to support Haiku Resides on libroot (system runtime) on this platform. Closes GH-5892. --- ext/opcache/config.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/opcache/config.m4 b/ext/opcache/config.m4 index 08a39e2f63..054cd28c02 100644 --- a/ext/opcache/config.m4 +++ b/ext/opcache/config.m4 @@ -222,7 +222,7 @@ int main() { have_shm_mmap_anon=yes],[have_shm_mmap_anon=no],[have_shm_mmap_anon=no]) AC_MSG_RESULT([$have_shm_mmap_anon=yes]) - PHP_CHECK_FUNC_LIB(shm_open, rt) + PHP_CHECK_FUNC_LIB(shm_open, rt, root) AC_MSG_CHECKING(for mmap() using shm_open() shared memory support) AC_RUN_IFELSE([AC_LANG_SOURCE([[ #include -- 2.50.1