Skip to content

Commit

Permalink
Always accept .o and .obj files
Browse files Browse the repository at this point in the history
  • Loading branch information
denizzzka committed Dec 27, 2024
1 parent b2c83e9 commit 53c713a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dmd/mars.d
Original file line number Diff line number Diff line change
Expand Up @@ -1836,7 +1836,7 @@ bool createModule(const(char)* file, ref Strings libmodules, const ref Target ta

/* Deduce what to do with a file based on its extension
*/
if (FileName.equals(ext, target.obj_ext))
if (FileName.equals(ext, "obj") || FileName.equals(ext, "o"))
{
global.params.objfiles.push(file);
libmodules.push(file);
Expand Down

0 comments on commit 53c713a

Please sign in to comment.