| author | |
| committer | |
| log | ba1331090c19662dc0eff4d38f80df6ec58c675a |
| tree | b8473cd08a043f196c23ae9e23d0472cece920ec |
| parent | f7c588286dfb63af54e3bd77898e4c39b791ec89 |
| signature |
closes #21668
Co-authored-by: Alex Rønne Petersen <alex@alexrp.com>1 files changed, 3 insertions(+), 1 deletions(-)
lib/std/Target/Query.zig+3-1| ... | ... | @@ -374,7 +374,9 @@ pub fn canDetectLibC(self: Query) bool { |
| 374 | 374 | if (self.isNativeOs()) return true; |
| 375 | 375 | if (self.os_tag) |os| { |
| 376 | 376 | if (builtin.os.tag == .macos and os.isDarwin()) return true; |
| 377 | if (os == .linux and self.abi.isAndroid()) return true; | |
| 377 | if (os == .linux) { | |
| 378 | if (self.abi) |abi| if (abi.isAndroid()) return true; | |
| 379 | } | |
| 378 | 380 | } |
| 379 | 381 | return false; |
| 380 | 382 | } |