.
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
fn main() {
|
||||
// Force linking of additional abseil libraries that webrtc-audio-processing-sys
|
||||
// might miss depending on the system's abseil version.
|
||||
//
|
||||
// The bundled webrtc C++ code references symbols from abseil's string
|
||||
// formatting and number-to-string utilities. On newer Fedora (abseil 2026+),
|
||||
// these live in separate shared libraries that the crate's build script
|
||||
// does not automatically link.
|
||||
println!("cargo:rustc-link-lib=absl_strings_internal");
|
||||
println!("cargo:rustc-link-lib=absl_str_format_internal");
|
||||
println!("cargo:rustc-link-lib=absl_string_view");
|
||||
println!("cargo:rustc-link-lib=absl_int128");
|
||||
println!("cargo:rustc-link-lib=absl_throw_delegate");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user