mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 07:19:27 +02:00
* 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 -
This commit is contained in:
parent
7038d18d50
commit
7e78fc1d7f
@ -123,7 +123,7 @@ begin
|
||||
for j:=0 to ImportLibrary.ImportSymbolList.Count-1 do
|
||||
begin
|
||||
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;
|
||||
ObjOutput.Free;
|
||||
|
Loading…
Reference in New Issue
Block a user