Merge pull request #337380 from jtojnar/mysql-z

php.extensions.mysqlnd: Fix libz underlinking
This commit is contained in:
Pol Dellaiera 2024-08-26 08:41:06 +02:00 committed by GitHub
commit aacaf65285
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -506,7 +506,7 @@ in {
# The configure script doesn't correctly add library link
# flags, so we add them to the variable used by the Makefile
# when linking.
MYSQLND_SHARED_LIBADD = "-lssl -lcrypto";
MYSQLND_SHARED_LIBADD = "-lz -lssl -lcrypto";
# The configure script builds a config.h which is never
# included. Let's include it in the main header file
# included by all .c-files.