Browse Source

Add missing change from commit 41150 to fix jvm-android compilation

git-svn-id: branches/fixes_3_2@42011 -
pierre 6 years ago
parent
commit
e1afc90ef4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      utils/pas2js/fpmake.pp

+ 2 - 0
utils/pas2js/fpmake.pp

@@ -26,6 +26,8 @@ begin
     P.Directory:=ADirectory;
     P.Version:='3.2.0-beta';
     P.OSes:=AllUnixOSes+AllBSDOSes+AllWindowsOSes-[WinCE];
+    if Defaults.CPU=jvm then
+      P.OSes := P.OSes - [java,android];
     P.Dependencies.Add('fcl-json');
     P.Dependencies.Add('fcl-js');
     P.Dependencies.Add('fcl-passrc');