Explorar o código

* correct name for OS/2 and EMX import libraries

git-svn-id: trunk@26558 -
Tomas Hajny %!s(int64=11) %!d(string=hai) anos
pai
achega
8242d060ce
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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