Browse Source

rtl: fixed pas2js_rtl.lpk building with -Tbrowser

mattias 6 years ago
parent
commit
7a3645e7d4
2 changed files with 4 additions and 2 deletions
  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>
       </Item4>
       <Item5>
       <Item5>
         <Filename Value="nodejs.pas"/>
         <Filename Value="nodejs.pas"/>
+        <AddToUsesPkgSection Value="False"/>
         <UnitName Value="NodeJS"/>
         <UnitName Value="NodeJS"/>
       </Item5>
       </Item5>
       <Item6>
       <Item6>

+ 3 - 2
packages/rtl/pas2js_rtl.pas

@@ -8,8 +8,9 @@ unit pas2js_rtl;
 interface
 interface
 
 
 uses
 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
 implementation