mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 13:29:27 +02:00
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:
parent
6ce8aeed27
commit
c421f4d91e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user