From 499ea9067db5ecd37713bd3b807d8c4fd17d8b6b Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Mon, 22 Jul 2024 21:30:15 +0200 Subject: [PATCH] Sync required phar dependencies (#15058) Required extensions hash and spl are added to the configure phase as required. They are also already noted as ZEND_MOD_REQUIRED. --- ext/phar/config.m4 | 4 ++-- ext/phar/config.w32 | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ext/phar/config.m4 b/ext/phar/config.m4 index 257d961faf5..ed155cab6e5 100644 --- a/ext/phar/config.m4 +++ b/ext/phar/config.m4 @@ -17,8 +17,8 @@ if test "$PHP_PHAR" != "no"; then AC_MSG_RESULT([no]) fi fi - PHP_ADD_EXTENSION_DEP(phar, hash, true) - PHP_ADD_EXTENSION_DEP(phar, spl, true) + PHP_ADD_EXTENSION_DEP(phar, hash) + PHP_ADD_EXTENSION_DEP(phar, spl) PHP_ADD_MAKEFILE_FRAGMENT PHP_INSTALL_HEADERS([ext/phar], [php_phar.h]) diff --git a/ext/phar/config.w32 b/ext/phar/config.w32 index 16432165167..3f935eab235 100644 --- a/ext/phar/config.w32 +++ b/ext/phar/config.w32 @@ -34,7 +34,8 @@ if (PHP_PHAR != "no") { STDOUT.WriteLine(' Native OpenSSL support in Phar disabled'); } } - ADD_EXTENSION_DEP('phar', 'spl', true); + ADD_EXTENSION_DEP('phar', 'hash'); + ADD_EXTENSION_DEP('phar', 'spl'); PHP_INSTALL_HEADERS("ext/phar", "php_phar.h"); ADD_MAKEFILE_FRAGMENT();