diff options
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index a228d61257..3ad5c7932f 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -5884,7 +5884,9 @@ pub const FileExt = enum { }; pub fn hasObjectExt(filename: []const u8) bool { - return mem.endsWith(u8, filename, ".o") or mem.endsWith(u8, filename, ".obj"); + return mem.endsWith(u8, filename, ".o") or + mem.endsWith(u8, filename, ".lo") or + mem.endsWith(u8, filename, ".obj"); } pub fn hasStaticLibraryExt(filename: []const u8) bool { |
