From b558a18c1503bfed4dbb292cd6abe2061d10a00e Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Fri, 9 Feb 2024 22:20:32 +0100 Subject: [PATCH] Remove unused _SHARED_LIBADD variables (#13361) These are used to store libraries needed to link when extension is shared and needs libraries linked to it. Since other similar types of extensions don't have these variables substituted in Makefile, these can be also removed. The filter and mysqli don't need any libraries for linking here. --- ext/filter/config.m4 | 1 - ext/mysqli/config.m4 | 1 - 2 files changed, 2 deletions(-) diff --git a/ext/filter/config.m4 b/ext/filter/config.m4 index b7934701bb6..7a5a4b682e9 100644 --- a/ext/filter/config.m4 +++ b/ext/filter/config.m4 @@ -6,7 +6,6 @@ PHP_ARG_ENABLE([filter], if test "$PHP_FILTER" != "no"; then PHP_NEW_EXTENSION(filter, filter.c sanitizing_filters.c logical_filters.c callback_filter.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1) - PHP_SUBST(FILTER_SHARED_LIBADD) PHP_INSTALL_HEADERS([ext/filter], [php_filter.h]) PHP_ADD_EXTENSION_DEP(filter, pcre) diff --git a/ext/mysqli/config.m4 b/ext/mysqli/config.m4 index ab060ebc4f1..d8f40ba479d 100644 --- a/ext/mysqli/config.m4 +++ b/ext/mysqli/config.m4 @@ -64,7 +64,6 @@ if test "$PHP_MYSQLI" != "no"; then mysqli_report.c mysqli_driver.c mysqli_warning.c \ mysqli_exception.c mysqli_result_iterator.c" PHP_NEW_EXTENSION(mysqli, $mysqli_sources, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1) - PHP_SUBST(MYSQLI_SHARED_LIBADD) PHP_INSTALL_HEADERS([ext/mysqli], [php_mysqli_structs.h mysqli_mysqlnd.h]) PHP_ADD_EXTENSION_DEP(mysqli, mysqlnd) fi