diff --git a/packages/fpmkunit/src/fpmkunit.pp b/packages/fpmkunit/src/fpmkunit.pp index 05b7c37a6a..2c048b4fe8 100644 --- a/packages/fpmkunit/src/fpmkunit.pp +++ b/packages/fpmkunit/src/fpmkunit.pp @@ -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;