Skip to content

Commit 118fa69

Browse files
devnexennikic
authored andcommitted
Check for shm_open() in libroot to support Haiku
Resides on libroot (system runtime) on this platform. Closes GH-5892.
1 parent c434bbb commit 118fa69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ int main() {
222222
have_shm_mmap_anon=yes],[have_shm_mmap_anon=no],[have_shm_mmap_anon=no])
223223
AC_MSG_RESULT([$have_shm_mmap_anon=yes])
224224

225-
PHP_CHECK_FUNC_LIB(shm_open, rt)
225+
PHP_CHECK_FUNC_LIB(shm_open, rt, root)
226226
AC_MSG_CHECKING(for mmap() using shm_open() shared memory support)
227227
AC_RUN_IFELSE([AC_LANG_SOURCE([[
228228
#include <sys/types.h>

0 commit comments

Comments
 (0)