浏览代码

rtl: fixed pas2js_rtl.lpk building with -Tbrowser

mattias 6 年之前
父节点
当前提交
7a3645e7d4
共有 2 个文件被更改,包括 4 次插入2 次删除
  1. 1 0
      packages/rtl/pas2js_rtl.lpk
  2. 3 2
      packages/rtl/pas2js_rtl.pas

+ 1 - 0
packages/rtl/pas2js_rtl.lpk

@@ -58,6 +58,7 @@
       </Item4>
       <Item5>
         <Filename Value="nodejs.pas"/>
+        <AddToUsesPkgSection Value="False"/>
         <UnitName Value="NodeJS"/>
       </Item5>
       <Item6>

+ 3 - 2
packages/rtl/pas2js_rtl.pas

@@ -8,8 +8,9 @@ unit pas2js_rtl;
 interface
 
 uses
-  Classes, JS, Math, NodeJS, ObjPas, RTLConsts, SysUtils, Types, TypInfo, Web, hotreloadclient, DateUtils, strutils, contnrs, 
-  browserconsole, webrouter, RTTI, webgl;
+  Classes, JS, Math, ObjPas, RTLConsts, SysUtils, Types, TypInfo, Web, 
+  hotreloadclient, DateUtils, strutils, contnrs, browserconsole, webrouter, 
+  RTTI, webgl;
 
 implementation