mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Sync spl extension dependency for mysqli extension (#14642)
This is configure time dependency for consistency.
This commit is contained in:
@@ -66,4 +66,5 @@ if test "$PHP_MYSQLI" != "no"; then
|
||||
PHP_NEW_EXTENSION(mysqli, $mysqli_sources, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
|
||||
PHP_INSTALL_HEADERS([ext/mysqli], [php_mysqli_structs.h mysqli_mysqlnd.h])
|
||||
PHP_ADD_EXTENSION_DEP(mysqli, mysqlnd)
|
||||
PHP_ADD_EXTENSION_DEP(mysqli, spl)
|
||||
fi
|
||||
|
||||
@@ -22,6 +22,7 @@ if (PHP_MYSQLI != "no") {
|
||||
if (PHP_MYSQLI != "no") {
|
||||
EXTENSION("mysqli", mysqli_source, PHP_MYSQLI_SHARED, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
|
||||
ADD_EXTENSION_DEP('mysqli', 'mysqlnd');
|
||||
ADD_EXTENSION_DEP('mysqli', 'spl');
|
||||
PHP_INSTALL_HEADERS("ext/mysqli", "php_mysqli_structs.h mysqli_mysqlnd.h");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user