[2.7] bpo-19960: Fix building of zlib on macOS without installed headers by ned-deily · Pull Request #14257 · python/cpython

@ned-deily

When building 2.7 on macOS without system header files installed in
``/usr/include``, a few extension modules dependent on system-supplied
third-party libraries were not being built, most notably zlib.
This situation arose in the past when building without the Command
Line Tools and the option to install header files in the traditional
system locations (like /usr/include).  As of macOS 10.14, the
header files are only available in an SDK so the problem addressed
here affects most 2.7 builds.

@ned-deily ned-deily changed the title bpo-19960: Fix building of zlib on macOS without installed headers [2.7] bpo-19960: Fix building of zlib on macOS without installed headers

Jun 20, 2019