Skip to content

Commit

Permalink
Link shlwapi on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mulimoen committed Nov 5, 2023
1 parent c15d48c commit 62d3637
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hdf5-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,10 @@ impl Config {
println!("cargo:rustc-cfg=feature=\"have-filter-deflate\"");
println!("cargo:have_filter_deflate=1");
}

if cfg!(windows) && version >= Version::new(1, 14, 0) {
println!("cargo:rustc-link-lib=shlwapi");
}
}

fn check_against_features_required(&self) {
Expand Down

0 comments on commit 62d3637

Please sign in to comment.