Skip to content

Commit 59e9545

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: Fixed ZTS cache usage
2 parents d30bd8e + 7139c38 commit 59e9545

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ext/mbstring/config.m4

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ AC_DEFUN([PHP_MBSTRING_ADD_INSTALL_HEADERS], [
2929
])
3030

3131
AC_DEFUN([PHP_MBSTRING_EXTENSION], [
32-
PHP_NEW_EXTENSION(mbstring, $PHP_MBSTRING_SOURCES, $ext_shared,, $PHP_MBSTRING_CFLAGS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
32+
PHP_NEW_EXTENSION(mbstring, $PHP_MBSTRING_BASE_SOURCES $PHP_MBSTRING_SOURCES, $ext_shared,, $PHP_MBSTRING_CFLAGS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
3333
PHP_SUBST(MBSTRING_SHARED_LIBADD)
3434
3535
for dir in $PHP_MBSTRING_EXTRA_BUILD_DIRS; do
@@ -42,10 +42,8 @@ AC_DEFUN([PHP_MBSTRING_EXTENSION], [
4242
done
4343
4444
if test "$ext_shared" = "no"; then
45-
PHP_ADD_SOURCES(PHP_EXT_DIR(mbstring), $PHP_MBSTRING_BASE_SOURCES)
4645
out="php_config.h"
4746
else
48-
PHP_ADD_SOURCES_X(PHP_EXT_DIR(mbstring),$PHP_MBSTRING_BASE_SOURCES,,shared_objects_mbstring,yes)
4947
if test -f "$ext_builddir/config.h.in"; then
5048
out="$abs_builddir/config.h"
5149
else

0 commit comments

Comments
 (0)