Skip to content

Commit

Permalink
fix(sys): Add abs_debugging_internal to rust-c link to avoid linker…
Browse files Browse the repository at this point in the history
… error. (#294)

Without this change, I was getting an error in linking when linking against a
local build of onnxruntime
  • Loading branch information
bradneuman authored Oct 11, 2024
1 parent fbe8cbf commit c882c58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ort-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ fn prepare_libort_dir() -> (PathBuf, bool) {

add_search_dir(transform_dep(external_lib_dir.join("abseil_cpp-build").join("absl").join("debugging"), &profile));
println!("cargo:rustc-link-lib=static=absl_examine_stack");
println!("cargo:rustc-link-lib=static=absl_debugging_internal");
println!("cargo:rustc-link-lib=static=absl_demangle_internal");
println!("cargo:rustc-link-lib=static=absl_demangle_rust");
println!("cargo:rustc-link-lib=static=absl_decode_rust_punycode");
Expand Down

0 comments on commit c882c58

Please sign in to comment.