Explorar el Código

* fix shared library linking for linux (issue #7849, patch from Dominique Leducq)

git-svn-id: trunk@5433 -
micha hace 19 años
padre
commit
09c8d571a6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      compiler/systems/t_linux.pas

+ 1 - 1
compiler/systems/t_linux.pas

@@ -329,7 +329,7 @@ begin
      hp:=tmodule(hp.next);
    end;
   reorder := linklibc and ReOrderEntries;
-  if islibrary then
+  if current_module.islibrary then
    begin
      sysinitunit:='dll';
      csysinitunit:='dll';