Skip to content

Commit b558a18

Browse files
authored
Remove unused <extension>_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.
1 parent 41e3044 commit b558a18

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

ext/filter/config.m4

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ PHP_ARG_ENABLE([filter],
66

77
if test "$PHP_FILTER" != "no"; then
88
PHP_NEW_EXTENSION(filter, filter.c sanitizing_filters.c logical_filters.c callback_filter.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
9-
PHP_SUBST(FILTER_SHARED_LIBADD)
109

1110
PHP_INSTALL_HEADERS([ext/filter], [php_filter.h])
1211
PHP_ADD_EXTENSION_DEP(filter, pcre)

ext/mysqli/config.m4

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ if test "$PHP_MYSQLI" != "no"; then
6464
mysqli_report.c mysqli_driver.c mysqli_warning.c \
6565
mysqli_exception.c mysqli_result_iterator.c"
6666
PHP_NEW_EXTENSION(mysqli, $mysqli_sources, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
67-
PHP_SUBST(MYSQLI_SHARED_LIBADD)
6867
PHP_INSTALL_HEADERS([ext/mysqli], [php_mysqli_structs.h mysqli_mysqlnd.h])
6968
PHP_ADD_EXTENSION_DEP(mysqli, mysqlnd)
7069
fi

0 commit comments

Comments
 (0)