mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix [ Bug #129293 ] zlib library used for binary win32 distribution can crash
This involves changing the zlib build process to build zlib itself from sources, then use that library. Also updated are the comments to reflect the new official home of zlib, and add Windows specific notes regarding the build process.
This commit is contained in:
parent
0850137fe4
commit
ae8c268a2b
2 changed files with 25 additions and 6 deletions
|
@ -1,6 +1,15 @@
|
|||
/* zlibmodule.c -- gzip-compatible data compression */
|
||||
/* See http://www.cdrom.com/pub/infozip/zlib/ */
|
||||
/* See http://www.winimage.com/zLibDll for Windows */
|
||||
/* See http://www.info-zip.org/pub/infozip/zlib/ */
|
||||
|
||||
/* *** Notes for Windows Users ***
|
||||
* Download the source distribution as referenced above.
|
||||
* Unpack the distribution such that a "..\..\zlib-1.1.3" directory is created
|
||||
relative to the "pcbuild" directory.
|
||||
* Build this "zlib" project. Via from MSVC magic, the correct zlib makefile will
|
||||
be run, and "..\..\zlib-1.1.3\zlib.lib" will be built before zlib.pyd.
|
||||
*** End of notes for Windows users ***
|
||||
*/
|
||||
|
||||
|
||||
#include "Python.h"
|
||||
#include "zlib.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue