Explorar o código

Disable pacakge redis for jvm-android target

Pierre Muller hai 1 mes
pai
achega
66af349646
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      packages/redis/fpmake.pp

+ 2 - 0
packages/redis/fpmake.pp

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