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 committed Sep 7, 2023
1 parent b5494a6 commit 905030b
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 905030b

Please sign in to comment.