summaryrefslogtreecommitdiff
path: root/packages/fcl-json
diff options
context:
space:
mode:
authorpierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2>2018-09-26 09:29:33 +0000
committerpierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2>2018-09-26 09:29:33 +0000
commit67fd64d36d9f02637582712dbd9a1e0edcc47623 (patch)
treee1196595cb0a271bc2c62e89ae7dcd09894079d7 /packages/fcl-json
parent8423f2d1d3d4cfaeb4ef08ed0b9d0fa162dc203a (diff)
downloadfpc-67fd64d36d9f02637582712dbd9a1e0edcc47623.tar.gz
Disable libraries not compiling for jvm-java or jvm-android targets
git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@39808 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/fcl-json')
-rw-r--r--packages/fcl-json/fpmake.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/fcl-json/fpmake.pp b/packages/fcl-json/fpmake.pp
index 5e23a64dd7..d5e4f0b8c5 100644
--- a/packages/fcl-json/fpmake.pp
+++ b/packages/fcl-json/fpmake.pp
@@ -27,6 +27,8 @@ begin
P.Description := 'Json interfacing, part of Free Component Libraries (FCL), FPC''s OOP library.';
P.NeedLibC:= false;
P.OSes:=AllOSes-[embedded,msdos,win16,macos,palmos];
+ if Defaults.CPU=jvm then
+ P.OSes := P.OSes - [java,android];
P.SourcePath.Add('src');