let pyhull use provided Qhull rather than having it (re)build (parts of) Qhull itself
author: Kenneth Hoste (HPC-UGent)
--- pyhull-1.5.4/setup.py.orig	2015-04-07 21:30:35.000000000 +0200
+++ pyhull-1.5.4/setup.py	2015-04-08 11:24:48.913427316 +0200
@@ -7,14 +7,18 @@
 from setuptools import setup, Extension, find_packages
 
 src_dir = "src"
-include_dirs = glob.glob(os.path.join("src", "libqhull"))
-sources = glob.glob(os.path.join("src", "libqhull", "*.c"))
+include_dirs = [os.path.join(os.getenv('EBROOTQHULL'), 'include', 'libqhull')]
+library_dirs = [os.path.join(os.getenv('EBROOTQHULL'), 'lib')]
+sources = []
 if sys.platform.strip() == "darwin":
     include_dirs += glob.glob(os.path.join("src", "fmemopen"))
     sources += glob.glob(os.path.join("src", "fmemopen", "*.c"))
 extension = Extension('pyhull._pyhull',
                       include_dirs=include_dirs,
-                      sources=[os.path.join(src_dir, '_pyhull.c')] + sources)
+                      library_dirs=library_dirs,
+                      libraries=['qhull'],
+                      sources=[os.path.join(src_dir, '_pyhull.c')] + sources,
+                      )
 
 long_description = """
 Pyhull is a Python wrapper to Qhull (http://www.qhull.org/) for the
