Converter: Make the target file name (-o) empty. Wrong value may come from default options. Issue #26655.

git-svn-id: trunk@54338 -
This commit is contained in:
juha 2017-03-03 18:02:34 +00:00
parent 8ff9bb8f08
commit 9f3aae8c8c

View File

@ -1314,6 +1314,7 @@ begin
Options.SrcPath:=CleanProjectSearchPath(Options.SrcPath);
if Options.UnitOutputDirectory='' then
Options.UnitOutputDirectory:='lib'+PathDelim+'$(TargetCPU)-$(TargetOS)';
Options.TargetFilename:=''; // This may have a wrong value from default compiler options.
if fSettings.DelphiDefine then begin
// "Borland" and "Ver150" are defined by Delphi7.