We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6602318 commit dcfcfc7Copy full SHA for dcfcfc7
build.rs
@@ -47,16 +47,16 @@ fn build(sdk_path: Option<&str>, target: &str) {
47
48
let mut headers: Vec<&'static str> = vec![];
49
50
- #[cfg(feature = "audio_toolbox")]
+ #[cfg(feature = "audio_unit")]
51
{
52
- println!("cargo:rustc-link-lib=framework=AudioToolbox");
53
- headers.push("AudioToolbox/AudioToolbox.h");
+ println!("cargo:rustc-link-lib=framework=AudioUnit");
+ headers.push("AudioUnit/AudioUnit.h");
54
}
55
56
- #[cfg(feature = "audio_unit")]
+ #[cfg(feature = "audio_toolbox")]
57
58
println!("cargo:rustc-link-lib=framework=AudioToolbox");
59
- headers.push("AudioUnit/AudioUnit.h");
+ headers.push("AudioToolbox/AudioToolbox.h");
60
61
62
#[cfg(feature = "core_audio")]
0 commit comments