Browse Source

+ -Sk loads also dynlibs

git-svn-id: trunk@1150 -
florian 20 years ago
parent
commit
3da870d699
1 changed files with 4 additions and 1 deletions
  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
           AddUnit('Profile');
         if (cs_load_fpcylix_unit in aktglobalswitches) then
-          AddUnit('FPCylix');
+          begin
+            AddUnit('FPCylix');
+            AddUnit('DynLibs');
+          end;
         { save default symtablestack }
         defaultsymtablestack:=symtablestack;
         defaultmacrosymtablestack:=macrosymtablestack;