UI progress

This commit is contained in:
sam
2026-05-10 23:56:54 +02:00
parent 2679f0b063
commit 19f53559fd
21 changed files with 1138 additions and 551 deletions

View File

@@ -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");
}
}