From 7cdd572b9fbf3182b07ab069dfb1c4d2e6431230 Mon Sep 17 00:00:00 2001 From: Eugene Hauptmann Date: Wed, 5 Jun 2024 15:14:09 -0400 Subject: [PATCH] updated build.rs --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.rs b/build.rs index 6bf38a9..8ddcb52 100644 --- a/build.rs +++ b/build.rs @@ -57,7 +57,7 @@ fn build(sdk_path: Option<&str>, target: &str) { // Since iOS 10.0, macOS 10.12, visionOS 1.0, all the functionality in AudioUnit // moved to AudioToolbox, and the AudioUnit headers have been simple // wrappers ever since. - if target.contains("apple-ios") { + if target.contains("apple-ios") || target.contains("apple-visionos") { // On iOS, the AudioUnit framework does not have (and never had) an // actual dylib to link to, it is just a few header files. // The AudioToolbox framework contains the symbols instead.