* use modulename rather than realmodulename for import libraries to avoid packaging issues in case of different casing - 'unit X' in x.pas

git-svn-id: trunk@11623 -
This commit is contained in:
Tomas Hajny 2008-08-21 21:10:06 +00:00
parent 4476673fc0
commit 512ffe26f5

View File

@ -358,7 +358,7 @@ end;
ImportLibrary : TImportLibrary;
ImportSymbol : TImportSymbol;
begin
LibName:=FixFileName(Current_Module.RealModuleName^ + Target_Info.StaticCLibExt);
LibName:=FixFileName(Current_Module.ModuleName^ + Target_Info.StaticCLibExt);
seq_no:=1;
current_module.linkotherstaticlibs.add(libname,link_always);
assign(out_file,current_module.outputpath^+libname);