Skip to content

Commit 26184c0

Browse files
committed
Merge branch 'PHP-8.4'
2 parents 0b05709 + f091ff0 commit 26184c0

File tree

3 files changed

+251
-231
lines changed

3 files changed

+251
-231
lines changed

cmake/cmake/toolchains/template.cmake

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,14 @@ set(PHP_ICONV_ERRNO_WORKS_EXITCODE 0)
101101
# ext/opcache
102102
################################################################################
103103

104-
# Set the exit code of SysV IPC shared memory check in opcache extension.
105-
set(HAVE_SHM_IPC_EXITCODE 0)
104+
# Set the exit code of SysV IPC shared memory check.
105+
set(PHP_EXT_OPCACHE_HAS_SHM_IPC_EXITCODE 0)
106106

107-
# Set the exit code of the mmap() using MAP_ANON shared memory check in opcache
108-
# extension.
109-
set(HAVE_SHM_MMAP_ANON_EXITCODE 0)
107+
# Set the exit code of the mmap() using MAP_ANON shared memory check.
108+
set(PHP_EXT_OPCACHE_HAS_SHM_MMAP_ANON_EXITCODE 0)
110109

111-
# Set the exit code of the shm_open() shared memory check in opcache extension.
112-
set(HAVE_SHM_MMAP_POSIX_EXITCODE 0)
110+
# Set the exit code of the shm_open() shared memory check.
111+
set(PHP_EXT_OPCACHE_HAS_SHM_MMAP_POSIX_EXITCODE 0)
113112

114113
################################################################################
115114
# ext/pcntl

cmake/ext/opcache/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,5 @@ check_symbol_exists(shm_create_largepage sys/mman.h HAVE_SHM_CREATE_LARGEPAGE)
341341

342342
# Check for shared memory support.
343343
include(cmake/CheckSHM.cmake)
344-
if(TARGET PHP::CheckSHMLibrary)
345-
target_link_libraries(php_ext_opcache PRIVATE PHP::CheckSHMLibrary)
346-
endif()
347344

348345
configure_file(cmake/config.h.in config.h)

0 commit comments

Comments
 (0)