Переглянути джерело

* adjust the name of the external debug and map file when the name of
the output binary is changed via the -o option (patch by Barlone,
mantis #21171)

git-svn-id: trunk@20484 -

Jonas Maebe 13 роки тому
батько
коміт
cca1fe9573
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      compiler/finput.pas

+ 1 - 0
compiler/finput.pas

@@ -654,6 +654,7 @@ uses
            begin
              exefilename:=stringdup(p+OutputFileName);
              sharedlibfilename:=stringdup(p+OutputFileName);
+             n:=ChangeFileExt(OutputFileName,''); { for mapfilename and dbgfilename } 
            end
          else
            begin