Explorar o código

* fixed dynamic linking of programs that only link with libc after r13584

git-svn-id: trunk@13587 -
Jonas Maebe %!s(int64=16) %!d(string=hai) anos
pai
achega
84cefb5eba
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      compiler/systems/t_linux.pas

+ 3 - 1
compiler/systems/t_linux.pas

@@ -455,7 +455,9 @@ begin
                  end;
               end;
              Add(')');
-           end;
+           end
+         else
+           linklibc:=true;
          if (cs_link_staticflag in current_settings.globalswitches) or
             (linklibc and not reorder) then
            begin