Skip to content

Commit

Permalink
Fix build by using dynamic linking
Browse files Browse the repository at this point in the history
  • Loading branch information
mutexlox-signal committed Oct 16, 2024
1 parent ea6cc5f commit db04258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cubeb-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ fn main() {
println!("cargo:rustc-link-lib=framework=CoreServices");
println!("cargo:rustc-link-lib=dylib=c++");

println!("cargo:rustc-link-lib=static=cubeb_coreaudio");
println!("cargo:rustc-link-lib=dylib=cubeb_coreaudio");
let mut search_path = std::env::current_dir().unwrap();
search_path.push("libcubeb/src/cubeb-coreaudio-rs/target");
if debug {
Expand Down

0 comments on commit db04258

Please sign in to comment.