mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 13:18:25 +02:00
* partial fix #40934: don't remove the DEF file if cs_link_deffile is set (thus if the user explicitly wants the file)
This commit is contained in:
parent
dcf6a97d64
commit
ef16a99c08
@ -70,7 +70,7 @@ end;
|
|||||||
destructor tdeffile.destroy;
|
destructor tdeffile.destroy;
|
||||||
begin
|
begin
|
||||||
if WrittenOnDisk and
|
if WrittenOnDisk and
|
||||||
not(cs_link_nolink in current_settings.globalswitches) then
|
([cs_link_nolink,cs_link_deffile]*current_settings.globalswitches=[]) then
|
||||||
DeleteFile(FName);
|
DeleteFile(FName);
|
||||||
importlist.Free;
|
importlist.Free;
|
||||||
exportlist.Free;
|
exportlist.Free;
|
||||||
|
Loading…
Reference in New Issue
Block a user