summaryrefslogtreecommitdiff
path: root/compiler/pkgutil.pas
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/pkgutil.pas')
-rw-r--r--compiler/pkgutil.pas3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/pkgutil.pas b/compiler/pkgutil.pas
index d0536ae900..f8ad90db78 100644
--- a/compiler/pkgutil.pas
+++ b/compiler/pkgutil.pas
@@ -639,8 +639,7 @@ implementation
module:=tmodule(loaded_units.first);
while assigned(module) do
begin
- //if not assigned(module.package) then
- if (uf_in_library and module.flags)=0 then
+ if not assigned(module.package) then
processimportedsyms(module.unitimportsyms);
module:=tmodule(module.next);
end;