Browse Source

pkgutil.pas, add_package_libs:
* check for systems_indirect_var_imports instead of systems_package_needs_exports

git-svn-id: branches/svenbarth/packages@32457 -

svenbarth 9 năm trước cách đây
mục cha
commit
abaac1e20c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      compiler/pkgutil.pas

+ 1 - 1
compiler/pkgutil.pas

@@ -461,7 +461,7 @@ implementation
       i : longint;
       pkgname : tpathstr;
     begin
-      if target_info.system in systems_packages_need_exports then
+      if not (target_info.system in systems_indirect_var_imports) then
         exit;
       for i:=0 to packagelist.count-1 do
         begin