mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 17:59:27 +02:00
* Allow compilation for webassembly
This commit is contained in:
parent
fe873006dc
commit
a77fca820e
@ -28,7 +28,7 @@ begin
|
||||
P.Email := '';
|
||||
P.Description := 'Image loading and conversion parts of Free Component Libraries (FCL), FPC''s OOP library.';
|
||||
P.NeedLibC:= false;
|
||||
P.OSes := P.OSes - [embedded,nativent,msdos,win16,macosclassic,palmos,zxspectrum,msxdos,amstradcpc,sinclairql,wasi];
|
||||
P.OSes := P.OSes - [embedded,nativent,msdos,win16,macosclassic,palmos,zxspectrum,msxdos,amstradcpc,sinclairql];
|
||||
if Defaults.CPU=jvm then
|
||||
P.OSes := P.OSes - [java,android];
|
||||
|
||||
@ -233,10 +233,12 @@ begin
|
||||
AddUnit('fpimage');
|
||||
end;
|
||||
T:=P.Targets.AddUnit('freetypeh.pp',[solaris,iphonesim,ios,darwin,freebsd,openbsd,netbsd,linux,haiku,beos,win32,win64,aix,dragonfly]);
|
||||
T.Dependencies.AddInclude('libfreetype.inc');
|
||||
T.CPUS:=T.CPUS-[wasm32];
|
||||
T.Dependencies.AddInclude('libfreetype.inc');
|
||||
T:=P.Targets.AddUnit('freetypehdyn.pp',[solaris,iphonesim,ios,darwin,freebsd,openbsd,netbsd,linux,haiku,beos,win32,win64,aix,dragonfly]);
|
||||
T.ResourceStrings:=true;
|
||||
T.Dependencies.AddInclude('libfreetype.inc');
|
||||
T.CPUS:=T.CPUS-[wasm32];
|
||||
T.Dependencies.AddInclude('libfreetype.inc');
|
||||
T:=P.Targets.AddUnit('freetype.pp',[solaris,iphonesim,ios,darwin,freebsd,openbsd,netbsd,linux,haiku,beos,win32,win64,aix,dragonfly]);
|
||||
with T.Dependencies do
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user