Skip to content

Commit b5b9c13

Browse files
authored
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.
1 parent 2097237 commit b5b9c13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/mysqlnd/config9.m4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,5 @@ if test "$PHP_MYSQLND" != "no" || test "$PHP_MYSQLND_ENABLED" = "yes"; then
5151
mysqlnd_sources="$mysqlnd_base_sources $mysqlnd_ps_sources"
5252
PHP_NEW_EXTENSION(mysqlnd, $mysqlnd_sources, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
5353
PHP_INSTALL_HEADERS([ext/mysqlnd/])
54+
PHP_SUBST([MYSQLND_SHARED_LIBADD])
5455
fi

0 commit comments

Comments
 (0)