Fix sdkname for tvos simulator
This commit is contained in:
parent
6c43244ff6
commit
ba5eeda64e
@ -2871,6 +2871,7 @@ fn add_apple_sdk(cmd: &mut dyn Linker, sess: &Session, flavor: LinkerFlavor) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let sdk_name = match (arch.as_ref(), os.as_ref()) {
|
let sdk_name = match (arch.as_ref(), os.as_ref()) {
|
||||||
|
("aarch64", "tvos") if llvm_target.ends_with("-simulator") => "appletvsimulator",
|
||||||
("aarch64", "tvos") => "appletvos",
|
("aarch64", "tvos") => "appletvos",
|
||||||
("x86_64", "tvos") => "appletvsimulator",
|
("x86_64", "tvos") => "appletvsimulator",
|
||||||
("arm", "ios") => "iphoneos",
|
("arm", "ios") => "iphoneos",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user