Procházet zdrojové kódy

* 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 -
sergei před 13 roky
rodič
revize
2638bc01d9
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      compiler/systems/t_linux.pas

+ 2 - 0
compiler/systems/t_linux.pas

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