Skip to content

Commit

Permalink
Add new required option for libcubeb.
Browse files Browse the repository at this point in the history
mozilla/cubeb@d504c22 turns off static builds of the MSVC runtime by
default; we need them here, so reenable.
  • Loading branch information
mutexlox-signal authored and kinetiknz committed Nov 25, 2024
1 parent 5efa0f2 commit c98c388
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cubeb-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ fn main() {
.define("BUILD_TESTS", "OFF")
.define("BUILD_TOOLS", "OFF")
.define("BUILD_RUST_LIBS", build_rust_libs)
.define("USE_STATIC_MSVC_RUNTIME", "ON")
// Force rust libs to include target triple when outputting,
// for easier linking when cross-compiling.
.env("CARGO_BUILD_TARGET", &target)
Expand Down

0 comments on commit c98c388

Please sign in to comment.