From 5a7769e5d8edc3ae5e8a6c8bbb4e1da46beae342 Mon Sep 17 00:00:00 2001 From: Carl Scherer Date: Tue, 7 Feb 2023 19:34:16 +0100 Subject: [PATCH] make oboe's shared-stdcxx feature accessible --- Cargo.toml | 1 + README.md | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 50651a7..5010ea8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,6 +10,7 @@ edition = "2021" [features] asio = ["asio-sys", "num-traits"] # Only available on Windows. See README for setup instructions. +oboe-shared-stdcxx = ["oboe/shared-stdcxx"] # Only available on Android. See README for what it does. [dependencies] thiserror = "1.0" diff --git a/README.md b/README.md index 474d97b..f1e7b0f 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,10 @@ Some audio backends are optional and will only be compiled with a [feature flag] - JACK (on Linux): `jack` - ASIO (on Windows): `asio` +Oboe can either use a shared or static runtime. The static runtime is used by default, but activating the +`oboe-shared-stdcxx` feature makes it use the shared runtime, which requires `libc++_shared.so` from the Android NDK to +be present during execution. + ## ASIO on Windows [ASIO](https://en.wikipedia.org/wiki/Audio_Stream_Input/Output) is an audio