mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 23:29:50 +02:00
* 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:
parent
4476673fc0
commit
512ffe26f5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user