mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 15:49:16 +02:00
* 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 -
This commit is contained in:
parent
f5a4f6b4af
commit
cca1fe9573
@ -654,6 +654,7 @@ uses
|
|||||||
begin
|
begin
|
||||||
exefilename:=stringdup(p+OutputFileName);
|
exefilename:=stringdup(p+OutputFileName);
|
||||||
sharedlibfilename:=stringdup(p+OutputFileName);
|
sharedlibfilename:=stringdup(p+OutputFileName);
|
||||||
|
n:=ChangeFileExt(OutputFileName,''); { for mapfilename and dbgfilename }
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user