Browse Source

Disable pacakge redis for jvm-android target

Pierre Muller 1 month ago
parent
commit
66af349646
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/redis/fpmake.pp

+ 2 - 0
packages/redis/fpmake.pp

@@ -21,6 +21,8 @@ begin
     P.Description := 'Redis interface unit.';
     P.Description := 'Redis interface unit.';
     // Keep this lis the same as fcl-net.
     // Keep this lis the same as fcl-net.
     P.OSes:=AllUnixOSes+AllWindowsOSes+AllAmigaLikeOSes+[OS2,EMX];
     P.OSes:=AllUnixOSes+AllWindowsOSes+AllAmigaLikeOSes+[OS2,EMX];
+    if Defaults.CPU=jvm then
+      P.OSes := P.OSes - [android];
 
 
 {$ifdef ALLPACKAGES}
 {$ifdef ALLPACKAGES}
     P.Directory:=ADirectory;
     P.Directory:=ADirectory;