Add WasiSharedLibExt

This commit is contained in:
Pierre Muller 2025-03-16 17:37:25 +00:00
parent 39a3f5a678
commit 2ee0138591

View File

@ -311,6 +311,7 @@ Const
RsjExt = '.rsj';
LibExt = '.a';
SharedLibExt = '.so';
WasiSharedLibExt = '';
DyLibExt = '.dylib';
DLLExt = '.dll';
AIXSharedLibExt = '.a';
@ -2973,6 +2974,8 @@ begin
Result:=LibraryName+DyLibExt
else if aOS = Aix then
Result:=LibraryName+AIXSharedLibExt
else if AOS in [wasip1,wasip1threads,wasip2] then
Result:=LibraryName+WasiSharedLibExt
else
Result:=LibraryName+SharedLibExt;
end;