mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 15:59:30 +02:00
* only add .o extension if no extension is provided. fixes 8520
git-svn-id: trunk@7366 -
This commit is contained in:
parent
6c916a032d
commit
377aae4ba0
@ -489,7 +489,9 @@ implementation
|
||||
end
|
||||
else
|
||||
s:= trimspace(current_scanner.readcomment);
|
||||
s:=ChangeFileExt(FixFileName(s),target_info.objext);
|
||||
s:=FixFileName(s);
|
||||
if ExtractFileExt(s)='' then
|
||||
s:=ChangeFileExt(s,target_info.objext);
|
||||
current_module.linkotherofiles.add(s,link_always);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user