The attached patch makes setup.py use the shipped zlib.h in Modules/zlib/ when a bogus zlib.h is found by find_file. However, I couldn't test it (nor make it work) when a system zlib is missing (no time right now). Can we build the shipped zlib and link against it?
We'd be asking for trouble with this: incompatible shipped and system versions or having to build the shipped version. All that for working around the rare case where the user doesn't have a valid zlib makes no sense :)
History
Date
User
Action
Args
2022-04-11 14:56:48
admin
set
github: 50266
2009-05-14 03:33:22
ajaksu2
set
status: open -> closedmessages: + keywords:patch, patchresolution: not a bugstage: test needed -> resolved