Skip to content

Commit

Permalink
Fix iOS aarch64 simulator detection (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
geertbleyen authored Aug 4, 2021
1 parent b342d03 commit 047e288
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion shaderc-sys/build/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ fn get_apple_sdk_path() -> Option<PathBuf> {
use std::process::Command;

// tvOS (and the simulator) could be added here in the future.
let sdk = if target == "x86_64-apple-ios" || target == "i386-apple-ios" {
let sdk = if target == "x86_64-apple-ios"
|| target == "i386-apple-ios"
|| target == "aarch64-apple-ios-sim"
{
"iphonesimulator"
} else if target == "aarch64-apple-ios"
|| target == "armv7-apple-ios"
Expand Down

0 comments on commit 047e288

Please sign in to comment.