Browse Source

* fixed searching of ar for arfinishcmd

git-svn-id: branches/fixes_2_0@5370 -
Jonas Maebe 19 years ago
parent
commit
59d75b93a0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compiler/link.pas

+ 1 - 0
compiler/link.pas

@@ -663,6 +663,7 @@ begin
   if (target_ar.arfinishcmd <> '') then
     begin
       SplitBinCmd(target_ar.arfinishcmd,binstr,cmdstr);
+      binstr := FindUtil(utilsprefix + binstr);
       Replace(cmdstr,'$LIB',maybequoted(current_module.staticlibfilename^));
       success:=DoExec(binstr,cmdstr,false,true);
     end;