Explorar o código

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 %!s(int64=9) %!d(string=hai) anos
pai
achega
abaac1e20c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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