| ... | ... | @@ -375,8 +375,6 @@ pub fn is_libc_lib_name(target: std.Target, name: []const u8) bool { |
| 375 | 375 | return true; |
| 376 | 376 | if (eqlIgnoreCase(ignore_case, name, "pthread")) |
| 377 | 377 | return true; |
| 378 | | if (eqlIgnoreCase(ignore_case, name, "crypt")) |
| 379 | | return true; |
| 380 | 378 | if (eqlIgnoreCase(ignore_case, name, "util")) |
| 381 | 379 | return true; |
| 382 | 380 | if (eqlIgnoreCase(ignore_case, name, "xnet")) |
| ... | ... | @@ -387,6 +385,11 @@ pub fn is_libc_lib_name(target: std.Target, name: []const u8) bool { |
| 387 | 385 | return true; |
| 388 | 386 | } |
| 389 | 387 | |
| 388 | if (target.abi.isMusl() or target.os.tag.isDarwin()) { |
| 389 | if (eqlIgnoreCase(ignore_case, name, "crypt")) |
| 390 | return true; |
| 391 | } |
| 392 | |
| 390 | 393 | if (target.os.tag.isDarwin() and eqlIgnoreCase(ignore_case, name, "System")) |
| 391 | 394 | return true; |
| 392 | 395 | |