Explorar o código

* also replace $CATRES for shared libraries (fix for r19649)

git-svn-id: trunk@19661 -
Jonas Maebe %!s(int64=13) %!d(string=hai) anos
pai
achega
3188916cda
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      compiler/systems/t_bsd.pas

+ 1 - 0
compiler/systems/t_bsd.pas

@@ -698,6 +698,7 @@ begin
   Replace(cmdstr,'$EXE',maybequoted(ExpandFileName(current_module.sharedlibfilename^)));
   Replace(cmdstr,'$EXE',maybequoted(ExpandFileName(current_module.sharedlibfilename^)));
 {$endif darwin}
 {$endif darwin}
   Replace(cmdstr,'$OPT',Info.ExtraOptions);
   Replace(cmdstr,'$OPT',Info.ExtraOptions);
+  Replace(cmdstr,'$CATRES',CatFileContent(outputexedir+Info.ResName));
   Replace(cmdstr,'$RES',maybequoted(outputexedir+Info.ResName));
   Replace(cmdstr,'$RES',maybequoted(outputexedir+Info.ResName));
   Replace(cmdstr,'$INIT',InitStr);
   Replace(cmdstr,'$INIT',InitStr);
   Replace(cmdstr,'$FINI',FiniStr);
   Replace(cmdstr,'$FINI',FiniStr);