mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-24 00:04:09 +03:00
Merge pull request #4842 from radarhere/zlib
Added homebrew zlib include directory
This commit is contained in:
commit
b9081d2238
3
setup.py
3
setup.py
|
@ -479,6 +479,9 @@ class pil_build_ext(build_ext):
|
||||||
# add Homebrew's include and lib directories
|
# add Homebrew's include and lib directories
|
||||||
_add_directory(library_dirs, os.path.join(prefix, "lib"))
|
_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, "include"))
|
||||||
|
_add_directory(
|
||||||
|
include_dirs, os.path.join(prefix, "opt", "zlib", "include")
|
||||||
|
)
|
||||||
ft_prefix = os.path.join(prefix, "opt", "freetype")
|
ft_prefix = os.path.join(prefix, "opt", "freetype")
|
||||||
|
|
||||||
if ft_prefix and os.path.isdir(ft_prefix):
|
if ft_prefix and os.path.isdir(ft_prefix):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user