| ... | ... | @@ -716,6 +716,11 @@ pub const TargetMatcher = struct { |
| 716 | 716 | const host_target = try targetToAppleString(allocator, cpu_arch, .MACOS); |
| 717 | 717 | try self.target_strings.append(allocator, host_target); |
| 718 | 718 | }, |
| 719 | .MACCATALYST => { |
| 720 | // Mac Catalyst is allowed to link macOS libraries in a TBD because Apple were apparently too lazy |
| 721 | // to add the proper target strings despite doing so in other places in the format??? |
| 722 | try self.target_strings.append(allocator, try targetToAppleString(allocator, cpu_arch, .MACOS)); |
| 723 | }, |
| 719 | 724 | .MACOS => { |
| 720 | 725 | // Turns out that around 10.13/10.14 macOS release version, Apple changed the target tags in |
| 721 | 726 | // tbd files from `macosx` to `macos`. In order to be compliant and therefore actually support |