Explorar el Código

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 -
Károly Balogh hace 10 años
padre
commit
c421f4d91e
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      compiler/link.pas

+ 2 - 2
compiler/link.pas

@@ -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