Skip to content

Commit bd7b174

Browse files
authored
Update ext/spl as required dependency for ext/pdo (#14535)
Since ZEND_MOD_REQUIRED is used and spl can't be disabled, this marks the configure time dependency also as required.
1 parent 845af77 commit bd7b174

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/pdo/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if test "$PHP_PDO" != "no"; then
1010
PHP_PDO=yes
1111

1212
PHP_NEW_EXTENSION(pdo, pdo.c pdo_dbh.c pdo_stmt.c pdo_sql_parser.c pdo_sqlstate.c, $ext_shared)
13-
PHP_ADD_EXTENSION_DEP(pdo, spl, true)
13+
PHP_ADD_EXTENSION_DEP(pdo, spl)
1414
PHP_INSTALL_HEADERS([ext/pdo], [php_pdo.h php_pdo_driver.h php_pdo_error.h])
1515
PHP_ADD_MAKEFILE_FRAGMENT
1616
fi

ext/pdo/config.w32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ARG_ENABLE("pdo", "Enable PHP Data Objects support", "no");
44

55
if (PHP_PDO != "no") {
66
EXTENSION('pdo', 'pdo.c pdo_dbh.c pdo_stmt.c pdo_sql_parser.c pdo_sqlstate.c', false /* force static, PHP_PDO_SHARED is broken yet somehow */);
7-
ADD_EXTENSION_DEP('pdo', 'spl', true);
7+
ADD_EXTENSION_DEP('pdo', 'spl');
88
ADD_MAKEFILE_FRAGMENT();
99
PHP_INSTALL_HEADERS("ext/pdo", "php_pdo.h php_pdo_driver.h php_pdo_error.h");
1010
}

0 commit comments

Comments
 (0)