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 ad3fcc1c82..a7d3b6b437 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -5890,7 +5890,9 @@ pub fn hasObjectExt(filename: []const u8) bool { } pub fn hasStaticLibraryExt(filename: []const u8) bool { - return mem.endsWith(u8, filename, ".a") or mem.endsWith(u8, filename, ".lib"); + return mem.endsWith(u8, filename, ".a") or + mem.endsWith(u8, filename, ".lib") or + mem.endsWith(u8, filename, ".rlib"); } pub fn hasCExt(filename: []const u8) bool { |
