UI progress
This commit is contained in:
@@ -1,14 +1,17 @@
|
||||
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");
|
||||
#[cfg(feature = "webrtc")]
|
||||
{
|
||||
// On Fedora/Bazzite, we need to explicitly link the system's Abseil libraries
|
||||
// because the 'bundled' WebRTC build might still reference them if they are
|
||||
// found on the system during the build process, or if the crate's build
|
||||
// script is incorrectly configured for this distro.
|
||||
|
||||
println!("cargo:rustc-link-search=native=/usr/lib64");
|
||||
|
||||
// We link the core string and number utilities where the missing symbols live.
|
||||
println!("cargo:rustc-link-lib=absl_strings");
|
||||
println!("cargo:rustc-link-lib=absl_str_format_internal");
|
||||
println!("cargo:rustc-link-lib=absl_int128");
|
||||
println!("cargo:rustc-link-lib=absl_throw_delegate");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user