From b1925ebaf56c5651e5f556a35e06afee6e87a894 Mon Sep 17 00:00:00 2001 From: Nicolas Wavrant <nicolas.wavrant@nexedi.com> Date: Tue, 2 Apr 2019 02:55:22 +0000 Subject: [PATCH] h5py: improve environment compilation variables otherwise hdf5.so cannot be found on compilation of h5py --- component/h5py/buildout.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/component/h5py/buildout.cfg b/component/h5py/buildout.cfg index 933ac5fbd..10b2df724 100644 --- a/component/h5py/buildout.cfg +++ b/component/h5py/buildout.cfg @@ -7,8 +7,9 @@ parts = h5py [hdf5-env] -LDFLAGS = -L${hdf5:location}/lib +LDFLAGS = -L${hdf5:location}/lib -Wl,-rpath=${hdf5:location}/lib CPPFLAGS = -I${hdf5:location}/include +LD_LIBRARY_PATH=${hdf5:location}/lib [h5py] recipe = zc.recipe.egg:custom -- 2.30.9