Added homebrew zlib include directory

This commit is contained in:
Andrew Murray 2020-08-06 23:14:49 +10:00
parent d1daff892d
commit 5aae369c94

View File

@ -479,6 +479,9 @@ class pil_build_ext(build_ext):
# add Homebrew's include and lib directories
_add_directory(library_dirs, os.path.join(prefix, "lib"))
_add_directory(include_dirs, os.path.join(prefix, "include"))
_add_directory(
include_dirs, os.path.join(prefix, "opt", "zlib", "include")
)
ft_prefix = os.path.join(prefix, "opt", "freetype")
if ft_prefix and os.path.isdir(ft_prefix):