do not include outputexedir in linker resname. it causes the path to be double-included when cross-compiling with -st and -FE on Liunuxes. also, be consistent between linking on host and target.

git-svn-id: trunk@29753 -
This commit is contained in:
Károly Balogh 2015-02-18 14:09:15 +00:00
parent 6ce8aeed27
commit c421f4d91e

View File

@ -620,8 +620,8 @@ Implementation
FillChar(Info,sizeof(Info),0);
if cs_link_on_target in current_settings.globalswitches then
begin
Info.ResName:=outputexedir+ChangeFileExt(inputfilename,'_link.res');
Info.ScriptName:=outputexedir+ChangeFileExt(inputfilename,'_script.res');
Info.ResName:=ChangeFileExt(inputfilename,'_link.res');
Info.ScriptName:=ChangeFileExt(inputfilename,'_script.res');
end
else
begin