We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c15d48c commit 7aad547Copy full SHA for 7aad547
hdf5-sys/build.rs
@@ -746,4 +746,8 @@ fn get_build_and_emit() {
746
let header = Header::parse(&hdf5_incdir);
747
let config = Config { header, inc_dir: "".into(), link_paths: Vec::new() };
748
config.emit_cfg_flags();
749
+
750
+ if cfg!(windows) && config.header.version >= Version::new(1, 14, 0) {
751
+ println!("cargo:rustc-link-lib=shlwapi");
752
+ }
753
}
0 commit comments