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 Feb 6, 2024
1 parent a119812 commit 503dcbf
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 503dcbf

Please sign in to comment.