summaryrefslogtreecommitdiff
path: root/packages/fcl-registry
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-registry
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-registry')
-rw-r--r--packages/fcl-registry/fpmake.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/fcl-registry/fpmake.pp b/packages/fcl-registry/fpmake.pp
index be5023440f..2426079483 100644
--- a/packages/fcl-registry/fpmake.pp
+++ b/packages/fcl-registry/fpmake.pp
@@ -28,6 +28,8 @@ begin
P.Description := 'Windows registry + emulation parts 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');
P.IncludePath.Add('src');