mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Added homebrew zlib include directory
This commit is contained in:
parent
d1daff892d
commit
5aae369c94
3
setup.py
3
setup.py
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user