mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-03 05:04:24 +03:00
On OS X also check for freetype2 in the X11 path.
This commit is contained in:
parent
31fd6a2464
commit
8a282c9ea4
3
setup.py
3
setup.py
|
@ -136,6 +136,9 @@ class pil_build_ext(build_ext):
|
|||
# darwin ports installation directories
|
||||
add_directory(library_dirs, "/opt/local/lib")
|
||||
add_directory(include_dirs, "/opt/local/include")
|
||||
# freetype2 ships with X11
|
||||
add_directory(library_dirs, "/usr/x11/lib")
|
||||
add_directory(library_dirs, "/usr/x11/include")
|
||||
|
||||
add_directory(library_dirs, "/usr/local/lib")
|
||||
# FIXME: check /opt/stuff directories here?
|
||||
|
|
Loading…
Reference in New Issue
Block a user