Skip to content

Commit

Permalink
Only include zlib when enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
mulimoen authored and magnusuMET committed Aug 8, 2024
1 parent d042839 commit 783dbdb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hdf5-src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 44,8 @@ fn main() {
.define("ZLIB_STATIC_LIBRARY", zlib_lib);
println!("cargo:zlib_header={}", zlib_header.to_str().unwrap());
println!("cargo:zlib={}", zlib_lib);
} else {
cfg.define("HDF5_ENABLE_Z_LIB_SUPPORT", "OFF");
}

if feature_enabled("DEPRECATED") {
Expand Down

0 comments on commit 783dbdb

Please sign in to comment.