mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-05 22:10:27 +02:00
* fix deleting the linksyms file after successful linking (mantis #37636)
git-svn-id: trunk@46677 -
This commit is contained in:
parent
3208929e17
commit
beac71ed24
@ -670,6 +670,7 @@ implementation
|
||||
extdbgcmdstr:=maybequoted(current_module.sharedlibfilename);
|
||||
end;
|
||||
|
||||
LinkSymsFileName:='';
|
||||
if not texportlibunix(exportlib).exportedsymnames.empty then
|
||||
begin
|
||||
LinkSymsFileName:=UniqueName('linksyms')+'.fpc';
|
||||
@ -721,7 +722,7 @@ implementation
|
||||
DeleteFile(ordersymfile);
|
||||
DeleteFile(linkscript.fn);
|
||||
linkscript.free;
|
||||
if not texportlibunix(exportlib).exportedsymnames.empty then
|
||||
if LinkSymsFileName<>'' then
|
||||
DeleteFile(outputexedir+LinkSymsFileName);
|
||||
DeleteFile(outputexedir+LinkFilesFileName);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user