Skip to content

Commit 972e16b

Browse files
committed
fix.
1 parent 20c56d7 commit 972e16b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

livekit-ffi/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ from_variants = "1.0.2"
4040

4141
[target.'cfg(target_os = "android")'.dependencies]
4242
jni = "0.21.1"
43+
link-cplusplus = { version = "1", features = ["nothing"] }
4344

4445
[build-dependencies]
4546
prost-build = "0.14.1"

webrtc-sys/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ fn main() {
252252

253253
configure_android_sysroot(&mut builder);
254254

255+
println!("cargo:rustc-link-lib=c++abi");
255256
builder.file("src/android.cpp").flag("-std=c++20").cpp_link_stdlib("c++_static");
256257
}
257258
_ => {

0 commit comments

Comments
 (0)