Browse Source

Disable jvm-android as fcl-json is not supported for this target

git-svn-id: trunk@41142 -
pierre 6 years ago
parent
commit
202c4f86c0
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.3.1';
     P.OSes:=AllUnixOSes+AllBSDOSes+AllWindowsOSes-[WinCE];
+    if Defaults.CPU=jvm then
+      P.OSes := P.OSes - [android];
     P.Dependencies.Add('fcl-json');
     P.Dependencies.Add('fcl-js');
     P.Dependencies.Add('fcl-passrc');