浏览代码

* 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';