diff --git a/CHANGELOG.md b/CHANGELOG.md index 049222e3..dbe002fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,11 @@ ## hdf5-derive unreleased ## hdf5-types unreleased ## hdf5-sys unreleased -## hdf5-src unreleased +## hdf5-src unreleased +- Build library at a consistent path on all platforms + ## hdf5-sys 0.11.4 Release date: Aug 10, 2026 - Backport support for hdf5 2.X series diff --git a/hdf5-src/build.rs b/hdf5-src/build.rs index 96c53653..189c28f8 100644 --- a/hdf5-src/build.rs +++ b/hdf5-src/build.rs @@ -40,6 +40,8 @@ fn main() { } } + cfg.define("CMAKE_INSTALL_LIBDIR", "lib"); + // only build the static c library, disable everything else cfg.define("HDF5_NO_PACKAGES", "ON"); for option in &[