瀏覽代碼

* disable LCL detection

git-svn-id: trunk@3328 -
peter 19 年之前
父節點
當前提交
a0d4f358eb
共有 1 個文件被更改,包括 2 次插入0 次删除
  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);