25 lines
851 B
Diff
25 lines
851 B
Diff
diff -u -r ../php-7.3.6/ext/opcache/config.m4 ./ext/opcache/config.m4
|
|
--- ../php-7.3.6/ext/opcache/config.m4 2019-05-28 09:33:00.000000000 +0000
|
|
+++ ./ext/opcache/config.m4 2019-06-24 20:40:39.725791000 +0000
|
|
@@ -145,7 +145,9 @@
|
|
}
|
|
]])],[dnl
|
|
AC_DEFINE(HAVE_SHM_MMAP_ANON, 1, [Define if you have mmap(MAP_ANON) SHM support])
|
|
- msg=yes],[msg=no],[msg=no])
|
|
+ msg=yes],[msg=no],
|
|
+ AC_DEFINE(HAVE_SHM_MMAP_ANON, 1, [Define if you have mmap(MAP_ANON) SHM support])
|
|
+ msg=yes)
|
|
AC_MSG_RESULT([$msg])
|
|
|
|
AC_MSG_CHECKING(for mmap() using /dev/zero shared memory support)
|
|
@@ -379,6 +381,9 @@
|
|
Optimizer/zend_dump.c,
|
|
shared,,-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1,,yes)
|
|
|
|
+ OPCACHE_SHARED_LIBADD=-lpcre2-8
|
|
+ PHP_SUBST(OPCACHE_SHARED_LIBADD)
|
|
+
|
|
PHP_ADD_BUILD_DIR([$ext_builddir/Optimizer], 1)
|
|
PHP_ADD_EXTENSION_DEP(opcache, pcre)
|
|
fi
|