Переглянути джерело

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

git-svn-id: trunk@19667 -
pierre 13 роки тому
батько
коміт
4bda40649d
2 змінених файлів з 1 додано та 2 видалено
  1. 1 1
      compiler/systems/t_beos.pas
  2. 0 1
      compiler/systems/t_haiku.pas

+ 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;