Add AIXSharedLibExt to avoid failure on pas2js shared library installation for AIX OS

git-svn-id: trunk@39756 -
This commit is contained in:
pierre 2018-09-14 14:06:27 +00:00
parent 64ad48e89e
commit c7cc85fb1d

View File

@ -240,6 +240,7 @@ Const
SharedLibExt = '.so';
DyLibExt = '.dylib';
DLLExt = '.dll';
AIXSharedLibExt = '.a';
ExeExt = '.exe';
DbgExt = '.dbg';
ZipExt = '.zip';
@ -2626,6 +2627,8 @@ begin
Result:=LibraryName+DLLExt
else if aOS in [darwin,macos,iphonesim] then
Result:=LibraryName+DyLibExt
else if aOS = Aix then
Result:=LibraryName+AIXSharedLibExt
else
Result:=LibraryName+SharedLibExt;
end;