Skip to content

Commit 499ea90

Browse files
authored
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.
1 parent 21418b5 commit 499ea90

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

ext/phar/config.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ if test "$PHP_PHAR" != "no"; then
1717
AC_MSG_RESULT([no])
1818
fi
1919
fi
20-
PHP_ADD_EXTENSION_DEP(phar, hash, true)
21-
PHP_ADD_EXTENSION_DEP(phar, spl, true)
20+
PHP_ADD_EXTENSION_DEP(phar, hash)
21+
PHP_ADD_EXTENSION_DEP(phar, spl)
2222
PHP_ADD_MAKEFILE_FRAGMENT
2323

2424
PHP_INSTALL_HEADERS([ext/phar], [php_phar.h])

ext/phar/config.w32

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ if (PHP_PHAR != "no") {
3434
STDOUT.WriteLine(' Native OpenSSL support in Phar disabled');
3535
}
3636
}
37-
ADD_EXTENSION_DEP('phar', 'spl', true);
37+
ADD_EXTENSION_DEP('phar', 'hash');
38+
ADD_EXTENSION_DEP('phar', 'spl');
3839
PHP_INSTALL_HEADERS("ext/phar", "php_phar.h");
3940

4041
ADD_MAKEFILE_FRAGMENT();

0 commit comments

Comments
 (0)