Skip to content

Commit

Permalink
updated build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenehp committed Jun 5, 2024
1 parent fadd3e1 commit 7cdd572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7cdd572

Please sign in to comment.