From 3188916cdae0ed1a256cd31432a5cf872f102f6e Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Sun, 20 Nov 2011 20:06:43 +0000 Subject: [PATCH] * also replace $CATRES for shared libraries (fix for r19649) git-svn-id: trunk@19661 - --- compiler/systems/t_bsd.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/systems/t_bsd.pas b/compiler/systems/t_bsd.pas index 2cc35246bb..8011dadeff 100644 --- a/compiler/systems/t_bsd.pas +++ b/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);