| author | |
| committer | |
| log | 8b2b9aa0195f16d1d8dad971911b75a4ae513f87 |
| tree | cd79a175e0499a04c60d9faa1434e51fdd8945f8 |
| parent | 73dcd1914071984c5a2e7c195212404824dbfb9e |
| signature |
Fixes musl libc.so compilation with zig cc.1 files changed, 3 insertions(+), 1 deletions(-)
src/Compilation.zig+3-1| ... | ... | @@ -5884,7 +5884,9 @@ pub const FileExt = enum { |
| 5884 | 5884 | }; |
| 5885 | 5885 | |
| 5886 | 5886 | pub fn hasObjectExt(filename: []const u8) bool { |
| 5887 | return mem.endsWith(u8, filename, ".o") or mem.endsWith(u8, filename, ".obj"); | |
| 5887 | return mem.endsWith(u8, filename, ".o") or | |
| 5888 | mem.endsWith(u8, filename, ".lo") or | |
| 5889 | mem.endsWith(u8, filename, ".obj"); | |
| 5888 | 5890 | } |
| 5889 | 5891 | |
| 5890 | 5892 | pub fn hasStaticLibraryExt(filename: []const u8) bool { |