mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 03:39:28 +02:00
Disable all packages that do not compile for jvm-android
This commit is contained in:
parent
13a5cdb8fa
commit
899916d76a
@ -21,6 +21,8 @@ begin
|
||||
P.License := 'Library: MPL 1.1 + LGPL-2.1, header: LGPL with modification, ';
|
||||
P.HomepageURL := 'www.freepascal.org';
|
||||
P.OSes := [beos,haiku,freebsd,solaris,netbsd,openbsd,linux,win32,win64,aix,dragonfly,android];
|
||||
if Defaults.CPU=jvm then
|
||||
P.OSes := P.OSes - [android];
|
||||
// Do not build cairo on iPhone (=arm-darwin)
|
||||
if Defaults.CPU<>arm then
|
||||
P.OSes := P.OSes + [darwin];
|
||||
|
@ -19,6 +19,8 @@ begin
|
||||
P.Version:='3.3.1';
|
||||
P.SupportBuildModes := [bmOneByOne];
|
||||
P.OSes:=AllUnixOSes+[Win32,Win64]-[darwin,iphonesim,ios];
|
||||
if Defaults.CPU=jvm then
|
||||
P.OSes := P.OSes - [android];
|
||||
if Defaults.CPU<>arm then
|
||||
P.OSes := P.OSes + [darwin];
|
||||
|
||||
|
@ -25,6 +25,8 @@ begin
|
||||
P.Description := 'Headers for the JACK Audio Connection Kit library';
|
||||
P.NeedLibC:= true; // true for headers that indirectly link to libc?
|
||||
P.OSes := AllUnixOSes+[win32,win64]-[qnx];
|
||||
if Defaults.CPU=jvm then
|
||||
P.OSes := P.OSes - [android];
|
||||
P.SourcePath.Add('src');
|
||||
P.IncludePath.Add('src');
|
||||
|
||||
|
@ -25,6 +25,8 @@ begin
|
||||
P.Description := 'Headers for the libsndfile library';
|
||||
P.NeedLibC:= true; // true for headers that indirectly link to libc?
|
||||
P.OSes := AllUnixOSes-[qnx];
|
||||
if Defaults.CPU=jvm then
|
||||
P.OSes := P.OSes - [android];
|
||||
P.SourcePath.Add('src');
|
||||
|
||||
T:=P.Targets.AddUnit('sndfile.pp');
|
||||
|
@ -19,6 +19,8 @@ begin
|
||||
{$endif ALLPACKAGES}
|
||||
P.Version:='3.3.1';
|
||||
P.OSes:=[beos,haiku,freebsd,solaris,netbsd,openbsd,linux,os2,emx,aix,dragonfly,android];
|
||||
if Defaults.CPU=jvm then
|
||||
P.OSes := P.OSes - [android];
|
||||
// Do not build x11 on iPhone (=arm-darwin)
|
||||
if Defaults.CPU<>arm then
|
||||
P.OSes := P.OSes + [darwin];
|
||||
|
Loading…
Reference in New Issue
Block a user