fix setup.py

This commit is contained in:
Fahad Al-Saidi 2016-12-14 11:05:14 +04:00
parent af0df0c9da
commit f2ba26860e

View File

@ -114,7 +114,6 @@ IMAGEQUANT_ROOT = None
TIFF_ROOT = None
FREETYPE_ROOT = None
LCMS_ROOT = None
RAQM_ROOT = None
def _pkg_config(name):
@ -515,6 +514,7 @@ class pil_build_ext(build_ext):
_add_directory(self.compiler.include_dirs, subdir, 0)
if feature.want('raqm'):
_dbg('Looking for raqm')
if _find_include_file(self, "raqm.h"):
if _find_library_file(self, "raqm") and \
_find_library_file(self, "harfbuzz") and \