فهرست منبع

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

git-svn-id: trunk@5433 -
micha 18 سال پیش
والد
کامیت
09c8d571a6
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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';