Browse Source

* correct name for OS/2 and EMX import libraries

git-svn-id: trunk@26558 -
Tomas Hajny 11 years ago
parent
commit
8242d060ce
1 changed files with 3 additions and 1 deletions
  1. 3 1
      packages/fpmkunit/src/fpmkunit.pp

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

@@ -2206,8 +2206,10 @@ end;
 
 function GetImportLibraryFilename(const UnitName: string; AOS: TOS): string;
 begin
-  if AOS in [go32v2,watcom,os2,emx] then
+  if AOS in [go32v2,watcom] then
     Result := 'libimp'+UnitName
+  if AOS in [os2,emx] then
+    Result := UnitName
   else if AOS in [netware,netwlibc,macos] then
     Result := 'lib'+UnitName
   else