Browse Source

* don't make all procdef symbols global if we are using section-based
smartlinkin

git-svn-id: trunk@32803 -

Jonas Maebe 9 years ago
parent
commit
8164d5aaf4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/psub.pas

+ 1 - 1
compiler/psub.pas

@@ -2091,7 +2091,7 @@ implementation
             if (not current_module.in_interface) then
               include(pdflags,pd_implemen);
             if (not current_module.is_unit) or
-               create_smartlink then
+               create_smartlink_library then
               include(pd.procoptions,po_global);
             pd.forwarddef:=false;
           end;