Browse Source

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

git-svn-id: trunk@39756 -
pierre 6 years ago
parent
commit
c7cc85fb1d
1 changed files with 3 additions and 0 deletions
  1. 3 0
      packages/fpmkunit/src/fpmkunit.pp

+ 3 - 0
packages/fpmkunit/src/fpmkunit.pp

@@ -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;