mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-03 01:09:40 +01:00
* Fixed error introduced in r21732. For libraries, startup is always dllprt0.o, regardless of profiling/linking to libc. Mantis #22397.
git-svn-id: trunk@21824 -
This commit is contained in:
parent
b93b08427f
commit
2638bc01d9
@ -305,6 +305,8 @@ begin
|
||||
sysinitunit:=defsinames[current_module.islibrary];
|
||||
prtobj:=defprtnames[current_module.islibrary];
|
||||
|
||||
if current_module.islibrary then
|
||||
exit;
|
||||
if cs_profile in current_settings.moduleswitches then
|
||||
begin
|
||||
prtobj:=gprtnames[libctype];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user