Skip to content

Commit 71d6272

Browse files
committed
Remove redundant Haiku root library
The libroot on Haiku (C standard library) is linked in by default.
1 parent 515a43e commit 71d6272

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ext/opcache/config.m4

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,12 +239,12 @@ int main(void) {
239239
AC_MSG_RESULT([$have_shm_mmap_anon])
240240

241241
dnl Check POSIX shared memory object operations and link required library as
242-
dnl needed: rt (older Linux and Solaris <= 10), root (Haiku nightly), other
243-
dnl systems have it in C library (newer Linux, illumos, Solaris 11.4, macOS,
244-
dnl BSD-based systems, Haiku R1...).
242+
dnl needed: rt (older Linux and Solaris <= 10). Most systems have it in the C
243+
dnl standard library (newer Linux, illumos, Solaris 11.4, macOS, BSD-based
244+
dnl systems...). Haiku has it in the root library, which is linked by default.
245245
LIBS_save="$LIBS"
246246
LIBS=
247-
AC_SEARCH_LIBS([shm_open], [rt root],
247+
AC_SEARCH_LIBS([shm_open], [rt],
248248
[AC_CACHE_CHECK([for mmap() using shm_open() shared memory support],
249249
[php_cv_shm_mmap_posix],
250250
[AC_RUN_IFELSE([AC_LANG_SOURCE([[

0 commit comments

Comments
 (0)