the way outputFilename has to be guesses relies on an incoherence

This commit is contained in:
Basile Burg 2015-01-17 03:54:05 +01:00
parent 44698ed724
commit 14565e51b8
1 changed files with 1 additions and 0 deletions

View File

@ -464,6 +464,7 @@ begin
{$IFDEF WINDOWS}
// field is specified without ext or with a dot in the name.
// DMD will add the ext. (e.g: "-ofresourced")
// https://issues.dlang.org/show_bug.cgi?id=13989
if fileexists(fOutputFilename + exeExt) then
if currentConfiguration.outputOptions.binaryKind = executable then
fOutputFilename := fOutputFilename + exeExt;