mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-03 02:09:42 +01:00
Add AIXSharedLibExt to avoid failure on pas2js shared library installation for AIX OS
git-svn-id: trunk@39756 -
This commit is contained in:
parent
64ad48e89e
commit
c7cc85fb1d
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user