Skip to content

mysqlnd: Remove unnecessary check for HAVE_ZLIB #5658

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

talyz
Copy link
Contributor

@talyz talyz commented Jun 3, 2020

Since ee4295b, the zlib package is explicitly checked for and configuration will fail without it. However, HAVE_ZLIB, which isn't defined by the configuration script, still has to be defined in mysqlnd.h for compression support to be turned on. This removes this requirement, which seems like a leftover. It probably only succeeds when building mysqlnd as a part of PHP because HAVE_ZLIB gets defined by the zlib extension.

In the NixOS project, we build the extensions separately, for maximal flexibility, and so we ran into this problem: NixOS/nixpkgs#89266

Related PR: #5655

@php-pulls php-pulls closed this in a230717 Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants