diff options
author | pierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2018-09-26 09:29:33 +0000 |
---|---|---|
committer | pierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2018-09-26 09:29:33 +0000 |
commit | 67fd64d36d9f02637582712dbd9a1e0edcc47623 (patch) | |
tree | e1196595cb0a271bc2c62e89ae7dcd09894079d7 /packages/libpng | |
parent | 8423f2d1d3d4cfaeb4ef08ed0b9d0fa162dc203a (diff) | |
download | fpc-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/libpng')
-rw-r--r-- | packages/libpng/fpmake.pp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/libpng/fpmake.pp b/packages/libpng/fpmake.pp index 5c910730cc..4ccdfcd6ff 100644 --- a/packages/libpng/fpmake.pp +++ b/packages/libpng/fpmake.pp @@ -22,6 +22,8 @@ begin P.Dependencies.Add('zlib'); P.SourcePath.Add('src'); P.OSes := AllUnixOSes-[qnx]+[win32,os2,emx]; + if Defaults.CPU=jvm then + P.OSes := P.OSes - [java,android]; T:=P.Targets.AddUnit('png.pp'); {$ifndef ALLPACKAGES} |