瀏覽代碼

* 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