Selaa lähdekoodia

* disable LCL detection

git-svn-id: trunk@3328 -
peter 19 vuotta sitten
vanhempi
commit
a0d4f358eb
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      utils/fpcm/fpcmmain.pp

+ 2 - 0
utils/fpcm/fpcmmain.pp

@@ -716,12 +716,14 @@ implementation
         { Add some default variables like FPCDIR, UNITSDIR }
         AddFPCDefaultVariables;
         { Load LCL code ? }
+{$ifdef SupportLCL}
         s:=GetVariable('require_packages',true);
         if (pos('lcl',s)>0) or (PackageName='lcl') then
          begin
            FUsesLCL:=true;
            AddLCLDefaultVariables;
          end;
+{$endif SupportLCL}
         { Show globals }
         Verbose(FPCMakeDebug,s_globals);
         Variables.Foreach(@PrintDic);