From d0c88f47168f67bb843bba71d37c8ba234c78d15 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Tue, 8 Jan 2019 16:00:56 +0100 Subject: [PATCH] [python] also add hd5 when building standolone python external --- python/lib/moresetuptools.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python/lib/moresetuptools.py b/python/lib/moresetuptools.py index f639ae88..f7e6f0f8 100644 --- a/python/lib/moresetuptools.py +++ b/python/lib/moresetuptools.py @@ -81,6 +81,7 @@ def add_external_deps(ext, usedouble = False): 'jack', 'sndfile', 'rubberband', + 'hdf5', #'fftw3f', ] # samplerate only works with float @@ -107,6 +108,9 @@ def add_external_deps(ext, usedouble = False): if 'fftw3f' in ext.libraries: ext.define_macros += [('HAVE_FFTW3F', 1)] ext.define_macros += [('HAVE_FFTW3', 1)] + if 'hdf5' in ext.libraries: + ext.libraries += ['hdf5_hl'] + ext.define_macros += [('HAVE_HDF5', 1)] # add accelerate on darwin if sys.platform.startswith('darwin'): -- 2.11.0