Browse Source

rtl: pas2js_rtl.lpk: test command creates only one js file in lib/

mattias 7 years ago
parent
commit
7d36bee9b7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/rtl/pas2js_rtl.lpk

+ 2 - 2
packages/rtl/pas2js_rtl.lpk

@@ -8,7 +8,7 @@
     <CompilerOptions>
       <Version Value="11"/>
       <SearchPaths>
-        <UnitOutputDirectory Value="."/>
+        <UnitOutputDirectory Value="lib"/>
       </SearchPaths>
       <Parsing>
         <SyntaxOptions>
@@ -23,7 +23,7 @@
       <Other>
         <CustomOptions Value="-dPas2js"/>
         <ExecuteBefore>
-          <Command Value="$MakeExe(pas2js) -O- pas2js_rtl.pas"/>
+          <Command Value="$MakeExe(pas2js) -O- -Jc -FUlib pas2js_rtl.pas"/>
           <ScanForFPCMsgs Value="True"/>
         </ExecuteBefore>
       </Other>