Browse Source

* fixed generation of exports from units/programs supporting it

git-svn-id: trunk@1920 -
florian 19 years ago
parent
commit
07ea2a5b38
1 changed files with 1 additions and 3 deletions
  1. 1 3
      compiler/pmodules.pas

+ 1 - 3
compiler/pmodules.pas

@@ -1497,9 +1497,7 @@ implementation
          if current_module.uses_imports then
          if current_module.uses_imports then
            importlib.generatelib;
            importlib.generatelib;
 
 
-         if islibrary or
-            (target_info.system in [system_i386_WIN32,system_i386_wdosx]) or
-            (target_info.system=system_i386_NETWARE) then
+         if islibrary or (target_info.system in system_unit_program_exports) then
            exportlib.generatelib;
            exportlib.generatelib;
 
 
          { insert Tables and StackLength }
          { insert Tables and StackLength }