2
0
Эх сурвалжийг харах

* Add missing CATRES substitution and remove blank lines in link.res

git-svn-id: trunk@19667 -
pierre 13 жил өмнө
parent
commit
4bda40649d

+ 1 - 1
compiler/systems/t_beos.pas

@@ -351,7 +351,6 @@ begin
    end;
 
 { Write and Close response }
-  linkres.Add(' ');
   linkres.writetodisk;
   linkres.free;
 
@@ -462,6 +461,7 @@ var
   SplitBinCmd(Info.DllCmd[1],binstr,cmdstr);
   Replace(cmdstr,'$EXE',maybequoted(current_module.sharedlibfilename^));
   Replace(cmdstr,'$OPT',Info.ExtraOptions);
+  Replace(cmdstr,'$CATRES',CatFileContent(outputexedir+Info.ResName));
   Replace(cmdstr,'$RES',maybequoted(outputexedir+Info.ResName));
   Replace(cmdstr,'$STATIC',StaticStr);
   Replace(cmdstr,'$STRIP',StripStr);

+ 0 - 1
compiler/systems/t_haiku.pas

@@ -351,7 +351,6 @@ begin
    end;
 
 { Write and Close response }
-  linkres.Add(' ');
   linkres.writetodisk;
   linkres.free;