Skip to content

Commit

Permalink
Output metadata for static builds
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulWagener authored and lnicola committed Dec 16, 2023
1 parent 041415f commit 34df34c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gdal-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,9 @@ fn main() {
println!("cargo:rustc-link-lib={link_type}={lib_name}");
println!("cargo:rustc-link-search={}", lib_dir.to_str().unwrap());

need_metadata = false;
if !prefer_static {
need_metadata = false;
}
}

let mut include_paths = Vec::new();
Expand Down

0 comments on commit 34df34c

Please sign in to comment.