* 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:
sergei 2012-07-09 12:18:34 +00:00
parent b93b08427f
commit 2638bc01d9

View File

@ -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];