Sfoglia il codice sorgente

* strip the '.dll' extension from the library name when creating import
libraries as well. This ensures that NewExe binaries, created by the external
linker don't have the '.dll' extension in them.

git-svn-id: trunk@42618 -

nickysn 6 anni fa
parent
commit
7e78fc1d7f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      compiler/systems/t_win16.pas

+ 1 - 1
compiler/systems/t_win16.pas

@@ -123,7 +123,7 @@ begin
       for j:=0 to ImportLibrary.ImportSymbolList.Count-1 do
       for j:=0 to ImportLibrary.ImportSymbolList.Count-1 do
         begin
         begin
           ImportSymbol:=TImportSymbol(ImportLibrary.ImportSymbolList[j]);
           ImportSymbol:=TImportSymbol(ImportLibrary.ImportSymbolList[j]);
-          AddImport(ImportLibrary.Name,ImportSymbol.Name,ImportSymbol.MangledName,ImportSymbol.OrdNr,ImportSymbol.IsVar);
+          AddImport(StripDllExt(ImportLibrary.Name),ImportSymbol.Name,ImportSymbol.MangledName,ImportSymbol.OrdNr,ImportSymbol.IsVar);
         end;
         end;
     end;
     end;
   ObjOutput.Free;
   ObjOutput.Free;