瀏覽代碼

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

git-svn-id: trunk@19661 -
Jonas Maebe 13 年之前
父節點
當前提交
3188916cda
共有 1 個文件被更改,包括 1 次插入0 次删除
  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);