From b5b9c13c3de59324540769d67f9b179502373060 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Fri, 17 May 2024 12:21:11 +0200 Subject: [PATCH] Add missing MYSQLND_SHARED_LIBADD substitution (#14228) This is used in Makefile when building mysqlnd as shared to get zlib and crypto libraries linked in the mysqlnd.so (-lz -lcrypto). For static build these are in the resulting binary like before. --- ext/mysqlnd/config9.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/mysqlnd/config9.m4 b/ext/mysqlnd/config9.m4 index f5dd638d32b..93f5b8f992b 100644 --- a/ext/mysqlnd/config9.m4 +++ b/ext/mysqlnd/config9.m4 @@ -51,4 +51,5 @@ if test "$PHP_MYSQLND" != "no" || test "$PHP_MYSQLND_ENABLED" = "yes"; then mysqlnd_sources="$mysqlnd_base_sources $mysqlnd_ps_sources" PHP_NEW_EXTENSION(mysqlnd, $mysqlnd_sources, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1) PHP_INSTALL_HEADERS([ext/mysqlnd/]) + PHP_SUBST([MYSQLND_SHARED_LIBADD]) fi