mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 19:48:01 +02:00
Add WasiSharedLibExt
This commit is contained in:
parent
39a3f5a678
commit
2ee0138591
@ -311,6 +311,7 @@ Const
|
|||||||
RsjExt = '.rsj';
|
RsjExt = '.rsj';
|
||||||
LibExt = '.a';
|
LibExt = '.a';
|
||||||
SharedLibExt = '.so';
|
SharedLibExt = '.so';
|
||||||
|
WasiSharedLibExt = '';
|
||||||
DyLibExt = '.dylib';
|
DyLibExt = '.dylib';
|
||||||
DLLExt = '.dll';
|
DLLExt = '.dll';
|
||||||
AIXSharedLibExt = '.a';
|
AIXSharedLibExt = '.a';
|
||||||
@ -2973,6 +2974,8 @@ begin
|
|||||||
Result:=LibraryName+DyLibExt
|
Result:=LibraryName+DyLibExt
|
||||||
else if aOS = Aix then
|
else if aOS = Aix then
|
||||||
Result:=LibraryName+AIXSharedLibExt
|
Result:=LibraryName+AIXSharedLibExt
|
||||||
|
else if AOS in [wasip1,wasip1threads,wasip2] then
|
||||||
|
Result:=LibraryName+WasiSharedLibExt
|
||||||
else
|
else
|
||||||
Result:=LibraryName+SharedLibExt;
|
Result:=LibraryName+SharedLibExt;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user