Skip to content

Commit

Permalink
Link mpir?
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigidity committed Sep 30, 2024
1 parent 90466ef commit 0f6e146
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions rust_bindings/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,17 @@ fn main() {
.to_str()
.unwrap()
);

println!("cargo:rustc-link-lib=static=mpir");
println!(
"cargo:rustc-link-search=native={}",
src_dir
.parent()
.unwrap()
.join("mpir_gc_x64")
.to_str()
.unwrap()
);
} else {
println!(
"cargo:rustc-link-search=native={}",
Expand Down

0 comments on commit 0f6e146

Please sign in to comment.