php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login

Patch php-fix-mysqlnd-compression-library.patch for *Compile Issues Bug #78823

Patch version 2019-11-19 14:56 UTC

Return to Bug #78823 | Download this patch
Patch Revisions:

Developer: build+php@de-korte.org

--- ext/mysqlnd/config9.m4
+++ ext/mysqlnd/config9.m4
@@ -24,6 +24,11 @@
 
 
   if test "$PHP_MYSQLND_COMPRESSION_SUPPORT" != "no"; then
+    PKG_CHECK_MODULES([ZLIB], [zlib])
+
+    PHP_EVAL_LIBLINE($ZLIB_LIBS, MYSQLND_SHARED_LIBADD)
+    PHP_EVAL_INCLINE($ZLIB_CFLAGS)
+
     AC_DEFINE([MYSQLND_COMPRESSION_WANTED], 1, [Enable compressed protocol support])
   fi
 
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Sep 29 06:01:25 2020 UTC