Skip to content

Commit

Permalink
Attempt to add static
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigidity committed Sep 18, 2024
1 parent eef4055 commit 4de90bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust_bindings/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ fn main() {
.unwrap()
);

println!("cargo:rustc-link-lib=mpir");
println!("cargo:rustc-link-lib=static=mpir");
} else {
println!(
"cargo:rustc-link-search=native={}",
Expand All @@ -66,7 +66,7 @@ fn main() {
.unwrap()
);

println!("cargo:rustc-link-lib=gmp");
println!("cargo:rustc-link-lib=static=gmp");
}

let bindings = bindgen::Builder::default()
Expand Down

0 comments on commit 4de90bb

Please sign in to comment.