Explorar o código

* 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 %!s(int64=13) %!d(string=hai) anos
pai
achega
cca1fe9573
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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