Browse Source

* fixed searching of ar for arfinishcmd

git-svn-id: branches/fixes_2_0@5370 -
Jonas Maebe 19 năm trước cách đây
mục cha
commit
59d75b93a0
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      compiler/link.pas

+ 1 - 0
compiler/link.pas

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