From 57a32a322043e7e6f6a18d3005dbee7d52cac0ac Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Mon, 22 Jul 2024 05:42:35 +0200 Subject: [PATCH] Sync required phar dependencies 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 257d961faf51c..ed155cab6e503 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 164321651674b..3f935eab235f3 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();