Browse Source

* fixed generation of exports from units/programs supporting it

git-svn-id: trunk@1920 -
florian 19 năm trước cách đây
mục cha
commit
07ea2a5b38
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      compiler/pmodules.pas

+ 1 - 3
compiler/pmodules.pas

@@ -1497,9 +1497,7 @@ implementation
          if current_module.uses_imports then
            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;
 
          { insert Tables and StackLength }