mirror of
https://github.com/nqrduck/LimeDriverBindings.git
synced 2024-07-01 01:36:40 +00:00
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:
parent
7fe4ccdf38
commit
d1b8c79acb
1
setup.py
1
setup.py
|
@ -16,7 +16,6 @@ class BuildExtCommand(build_ext):
|
||||||
for ext in self.extensions:
|
for ext in self.extensions:
|
||||||
ext.extra_compile_args = rpath_flags
|
ext.extra_compile_args = rpath_flags
|
||||||
ext.extra_link_args = rpath_flags
|
ext.extra_link_args = rpath_flags
|
||||||
ext.libraries.extend(['hdf5', 'hdf5_cpp'])
|
|
||||||
build_ext.build_extensions(self)
|
build_ext.build_extensions(self)
|
||||||
|
|
||||||
super().build_extensions()
|
super().build_extensions()
|
||||||
|
|
Loading…
Reference in a new issue