Skip to content

Commit

Permalink
Try forcing static linking of hdf5
Browse files Browse the repository at this point in the history
  • Loading branch information
magnusuMET committed Jul 29, 2024
1 parent 15f6f30 commit 1604b43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions netcdf-src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ fn main() {
.define("PLUGIN_INSTALL_DIR", "OFF")
//
.define("HDF5_ROOT", &hdf5_root)
.define("HDF5_USE_STATIC_LIBRARIES", "ON")
//
.define("NETCDF_ENABLE_LIBXML2", "OFF") // Use bundled xml2
//
Expand Down

0 comments on commit 1604b43

Please sign in to comment.