From d1b8c79acb1d5b62f35ac8c558bda3e9d4afc50b Mon Sep 17 00:00:00 2001 From: Kumi Date: Fri, 9 Feb 2024 15:43:27 +0100 Subject: [PATCH] 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. --- setup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.py b/setup.py index 0946aec..7763efa 100644 --- a/setup.py +++ b/setup.py @@ -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()