commit | 06e899b5e9a1334578870214f2ab6dc959354335 | [log] [tgz] |
---|---|---|
author | Mark Adler <madler@alumni.caltech.edu> | Sat Dec 17 13:20:47 2016 -0800 |
committer | Mark Adler <zlib@madler.net> | Sun Dec 24 18:45:35 2017 -0800 |
tree | 3f73439938090c52401b7ed81141b2bcc754878b | |
parent | 4e5047ba10a286b54dc601d78ea088fe95b29138 [diff] |
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).