Selaa lähdekoodia

* fix searching of (g)ar for the arfinishcmd

git-svn-id: trunk@5367 -
Jonas Maebe 18 vuotta sitten
vanhempi
commit
4ba88ce33e
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      compiler/link.pas

+ 1 - 0
compiler/link.pas

@@ -721,6 +721,7 @@ Implementation
         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;