mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 18:47:56 +02:00
* add procsyms from exports also to deffile if user explicitly asked for one
This commit is contained in:
parent
ef16a99c08
commit
cc063e7a9c
@ -194,7 +194,11 @@ implementation
|
||||
try_to_consume(_LAST);
|
||||
end;
|
||||
end;
|
||||
if (DefString<>'') and UseDeffileForExports then
|
||||
if (DefString<>'') and
|
||||
(
|
||||
UseDeffileForExports or
|
||||
(cs_link_deffile in current_settings.globalswitches)
|
||||
) then
|
||||
DefFile.AddExport(DefString);
|
||||
end;
|
||||
// consumed the symbol. Only do something if there was no error.
|
||||
|
Loading…
Reference in New Issue
Block a user