소스 검색

Disable pacakge redis for jvm-android target

Pierre Muller 1 개월 전
부모
커밋
66af349646
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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;