summaryrefslogtreecommitdiff
path: root/packages/openssl/fpmake.pp
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/openssl/fpmake.pp
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/openssl/fpmake.pp')
-rw-r--r--packages/openssl/fpmake.pp3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/openssl/fpmake.pp b/packages/openssl/fpmake.pp
index f5379e485f..bc81398100 100644
--- a/packages/openssl/fpmake.pp
+++ b/packages/openssl/fpmake.pp
@@ -21,6 +21,9 @@ begin
P.Version:='3.3.1';
P.SourcePath.Add('src');
P.OSes := AllUnixOSes+AllWindowsOSes+[OS2,EMX]-[qnx];
+ if Defaults.CPU=jvm then
+ P.OSes := P.OSes - [java,android];
+
P.Dependencies.Add('rtl-extra',[OS2,EMX]);
T:=P.Targets.AddUnit('openssl.pas');