소스 검색

* fix searching of (g)ar for the arfinishcmd

git-svn-id: trunk@5367 -
Jonas Maebe 19 년 전
부모
커밋
4ba88ce33e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;