15 lines
722 B
Rust
15 lines
722 B
Rust
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");
|
|
}
|