diff --git a/build.rs b/build.rs index d5e2f99..f248bb1 100644 --- a/build.rs +++ b/build.rs @@ -65,7 +65,7 @@ fn build(sdk_path: Option<&str>, target: &str) { // actual dylib to link to, it is just a few header files. // The AudioToolbox framework contains the symbols instead. println!("cargo:rustc-link-lib=framework=AudioToolbox"); - headers.push("AudioToolbox/AudioUnit.h"); + // headers.push("AudioToolbox/AudioUnit.h"); } else { // On macOS, the symbols are present in the AudioToolbox framework, // but only on macOS 10.12 and above. @@ -74,8 +74,9 @@ fn build(sdk_path: Option<&str>, target: &str) { // contains a dylib with the desired symbols, that we can link to // (in later versions just re-exports from AudioToolbox). println!("cargo:rustc-link-lib=framework=AudioUnit"); - headers.push("AudioUnit/AudioUnit.h"); + // headers.push("AudioUnit/AudioUnit.h"); } + headers.push("AudioUnit/AudioUnit.h"); } #[cfg(feature = "audio_toolbox")]