| ... | @@ -374,7 +374,9 @@ pub fn canDetectLibC(self: Query) bool { | ... | @@ -374,7 +374,9 @@ pub fn canDetectLibC(self: Query) bool { |
| 374 | if (self.isNativeOs()) return true; | 374 | if (self.isNativeOs()) return true; |
| 375 | if (self.os_tag) |os| { | 375 | if (self.os_tag) |os| { |
| 376 | if (builtin.os.tag == .macos and os.isDarwin()) return true; | 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 | return false; | 381 | return false; |
| 380 | } | 382 | } |