We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20c56d7 commit 972e16bCopy full SHA for 972e16b
livekit-ffi/Cargo.toml
@@ -40,6 +40,7 @@ from_variants = "1.0.2"
40
41
[target.'cfg(target_os = "android")'.dependencies]
42
jni = "0.21.1"
43
+link-cplusplus = { version = "1", features = ["nothing"] }
44
45
[build-dependencies]
46
prost-build = "0.14.1"
webrtc-sys/build.rs
@@ -252,6 +252,7 @@ fn main() {
252
253
configure_android_sysroot(&mut builder);
254
255
+ println!("cargo:rustc-link-lib=c++abi");
256
builder.file("src/android.cpp").flag("-std=c++20").cpp_link_stdlib("c++_static");
257
}
258
_ => {
0 commit comments