mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 22:29:32 +02:00
* fix from r9332 for shared libraries
git-svn-id: trunk@9797 -
This commit is contained in:
parent
2a479654f1
commit
56c18c5521
@ -713,8 +713,11 @@ begin
|
|||||||
if (success) and not(cs_link_nolink in current_settings.globalswitches) then
|
if (success) and not(cs_link_nolink in current_settings.globalswitches) then
|
||||||
begin
|
begin
|
||||||
DeleteFile(outputexedir+Info.ResName);
|
DeleteFile(outputexedir+Info.ResName);
|
||||||
// DeleteFile(linkscript.fn);
|
if LdSupportsNoResponseFile Then
|
||||||
linkscript.free
|
begin
|
||||||
|
DeleteFile(linkscript.fn);
|
||||||
|
linkscript.free
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
MakeSharedLibrary:=success; { otherwise a recursive call to link method }
|
MakeSharedLibrary:=success; { otherwise a recursive call to link method }
|
||||||
|
Loading…
Reference in New Issue
Block a user