1 --- matplotlib-2.2.5/setupext.py.orig 2020-02-02 00:15:39.000000000 +0100
2 +++ matplotlib-2.2.5/setupext.py 2020-03-31 20:24:37.308082463 +0200
5 lft = bool(os.environ.get('MPLLOCALFREETYPE', False))
6 options['local_freetype'] = lft or options.get('local_freetype', False)
7 +options['local_qhull'] = False
10 def get_win32_compiler():
13 self.__class__.found_external = True
15 - return self._check_for_pkg_config(
16 - 'libqhull', 'libqhull/qhull_a.h', min_version='2015.2')
17 + return not options.get('local_qhull', False)
18 except CheckFailed as e:
19 self.__class__.found_pkgconfig = False
20 self.__class__.found_external = False
23 def add_flags(self, ext):
24 if self.found_external:
25 + ext.libraries.append('qhull')
26 pkg_config.setup_extension(ext, 'qhull',
27 default_libraries=['qhull'])