mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Remove outdated code from mysqli Windows build (#14648)
The --with-mysqli option once accepted the mysqlnd argument when also libmysql was used.
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
// vim:ft=javascript
|
||||
|
||||
// Note: The extension name is "mysqli", you enable it with "--with-mysqli".
|
||||
// Passing value "mysqlnd" to it enables the bundled
|
||||
// client library to connect to the MySQL server, i.e. no external MySQL
|
||||
// client library is needed to perform the build.
|
||||
|
||||
ARG_WITH("mysqli", "MySQLi support", "no");
|
||||
|
||||
@@ -19,10 +16,8 @@ if (PHP_MYSQLI != "no") {
|
||||
"mysqli_report.c " +
|
||||
"mysqli_warning.c";
|
||||
|
||||
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");
|
||||
}
|
||||
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