Skip to content

Commit af301be

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: Fix bug #78823: add zlib library to mysqlnd
2 parents 21d326a + ee4295b commit af301be

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/mysqlnd/config9.m4

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ if test "$PHP_MYSQLND" != "no" || test "$PHP_MYSQLND_ENABLED" = "yes"; then
2424

2525

2626
if test "$PHP_MYSQLND_COMPRESSION_SUPPORT" != "no"; then
27+
PKG_CHECK_MODULES([ZLIB], [zlib])
28+
PHP_EVAL_LIBLINE($ZLIB_LIBS, MYSQLND_SHARED_LIBADD)
29+
PHP_EVAL_INCLINE($ZLIB_CFLAGS)
2730
AC_DEFINE([MYSQLND_COMPRESSION_WANTED], 1, [Enable compressed protocol support])
2831
fi
2932

0 commit comments

Comments
 (0)