File tree Expand file tree Collapse file tree 3 files changed +251
-231
lines changed Expand file tree Collapse file tree 3 files changed +251
-231
lines changed Original file line number Diff line number Diff line change @@ -101,15 +101,14 @@ set(PHP_ICONV_ERRNO_WORKS_EXITCODE 0)
101
101
# ext/opcache
102
102
################################################################################
103
103
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 )
106
106
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 )
110
109
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 )
113
112
114
113
################################################################################
115
114
# ext/pcntl
Original file line number Diff line number Diff line change @@ -341,8 +341,5 @@ check_symbol_exists(shm_create_largepage sys/mman.h HAVE_SHM_CREATE_LARGEPAGE)
341
341
342
342
# Check for shared memory support.
343
343
include (cmake/CheckSHM.cmake )
344
- if (TARGET PHP::CheckSHMLibrary )
345
- target_link_libraries (php_ext_opcache PRIVATE PHP::CheckSHMLibrary )
346
- endif ()
347
344
348
345
configure_file (cmake/config.h.in config.h )
You can’t perform that action at this time.
0 commit comments