浏览代码

+ -Sk loads also dynlibs

git-svn-id: trunk@1150 -
florian 20 年之前
父节点
当前提交
3da870d699
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      compiler/pmodules.pas

+ 4 - 1
compiler/pmodules.pas

@@ -538,7 +538,10 @@ implementation
            (target_info.system in [system_i386_go32v2,system_i386_watcom]) then
            (target_info.system in [system_i386_go32v2,system_i386_watcom]) then
           AddUnit('Profile');
           AddUnit('Profile');
         if (cs_load_fpcylix_unit in aktglobalswitches) then
         if (cs_load_fpcylix_unit in aktglobalswitches) then
-          AddUnit('FPCylix');
+          begin
+            AddUnit('FPCylix');
+            AddUnit('DynLibs');
+          end;
         { save default symtablestack }
         { save default symtablestack }
         defaultsymtablestack:=symtablestack;
         defaultsymtablestack:=symtablestack;
         defaultmacrosymtablestack:=macrosymtablestack;
         defaultmacrosymtablestack:=macrosymtablestack;