From 890f603b4891383549708a35309ac06fe1c3d06d Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Sun, 24 Feb 2019 22:36:20 +0100 Subject: [PATCH] setup.py: fix pango compilation that wasnt able to be cached because the depends where pointing on invalid files --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 2256b79f1..43caa85b3 100644 --- a/setup.py +++ b/setup.py @@ -856,10 +856,10 @@ if c_options['use_pangoft2'] in (None, True) and platform not in ( if pango_flags and 'libraries' in pango_flags: print('Pango: pangoft2 found via pkg-config') c_options['use_pangoft2'] = True - pango_depends = {'depends': ['lib/pangoft2.pxi', - 'lib/pangoft2.h']} + pango_depends = {'depends': ['lib/pango/pangoft2.pxi']} sources['core/text/_text_pango.pyx'] = merge( base_flags, pango_flags, pango_depends) + print(sources['core/text/_text_pango.pyx']) if platform in ('darwin', 'ios'): # activate ImageIO provider for our core image