Removed static HDF5 library linkage in build

process

Reflecting a shift toward dynamic library usage, the build system has
been updated to omit hard-coded links to the HDF5 libraries. This change
simplifies dependency management and increases flexibility in various
build environments. It's important to ensure dependent projects are
aware of this change, as they might need to explicitly link HDF5 if they
don't dynamically load it.
This commit is contained in:
Kumi 2024-02-09 15:43:27 +01:00
parent 7fe4ccdf38
commit d1b8c79acb
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -16,7 +16,6 @@ class BuildExtCommand(build_ext):
for ext in self.extensions:
ext.extra_compile_args = rpath_flags
ext.extra_link_args = rpath_flags
ext.libraries.extend(['hdf5', 'hdf5_cpp'])
build_ext.build_extensions(self)
super().build_extensions()