Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add run-time zlib version check to handle weak-linking case.
This allows for weak linking with a zlib library whose version is older than the zlib header file used to compile pigz. The version is checked at run time, and deflatePending() is not called if the linked library does not have it. This commit adds a check as well when invoked for the earliest acceptable version of zlib (1.2.3).
- Loading branch information
Showing
1 changed file
with
65 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters