Fix HDF5 configuration in lal/configure.ac
Description
AX_LIB_HDF5()
does not save -rpath
flag needed to link against non-system locations, so need to reproduce it from -L
flag.
I encountered this problem because I have HDF5 installed through the system and also through Conda. LAL was picking up the Conda install through AX_LIB_HDF5()
, but it was not properly linking liblalsupport.so
to the Conda install by using -rpath
, so it would default to the system install, then complain at runtime because the system and Conda installs are of different versions.
API Changes and Justification
Backwards Compatible Changes
-
This change introduces no API changes -
This change adds new API calls
Backwards Incompatible Changes
-
This change modifies an existing API -
This change removes an existing API
If any of the Backwards Incompatible check boxes are ticked please provide a justification why this change is necessary and why it needs to be done in a backwards incompatible way.
Review Status
@duncanmmacleod @adam-mercer to review