Selaa lähdekoodia

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

git-svn-id: trunk@19661 -
Jonas Maebe 13 vuotta sitten
vanhempi
commit
3188916cda
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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^)));
 {$endif darwin}
   Replace(cmdstr,'$OPT',Info.ExtraOptions);
+  Replace(cmdstr,'$CATRES',CatFileContent(outputexedir+Info.ResName));
   Replace(cmdstr,'$RES',maybequoted(outputexedir+Info.ResName));
   Replace(cmdstr,'$INIT',InitStr);
   Replace(cmdstr,'$FINI',FiniStr);