Browse Source

Fix searching of gstrip binary in cross-environment for solaris OS target

(cherry picked from commit fecdaeed0d3bed360647dda6c864588f1245f570)
Pierre Muller 3 years ago
parent
commit
619491e852
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/systems/t_sunos.pas

+ 1 - 1
compiler/systems/t_sunos.pas

@@ -642,7 +642,7 @@ begin
    begin
    begin
      SplitBinCmd(Info.DllCmd[2],binstr,cmdstr);
      SplitBinCmd(Info.DllCmd[2],binstr,cmdstr);
      Replace(cmdstr,'$EXE',maybequoted(current_module.sharedlibfilename));
      Replace(cmdstr,'$EXE',maybequoted(current_module.sharedlibfilename));
-     success:=DoExec(utilsprefix+FindUtil(binstr),cmdstr,true,false);
+     success:=DoExec(FindUtil(utilsprefix+binstr),cmdstr,true,false);
    end;
    end;
 
 
 { Remove ReponseFile }
 { Remove ReponseFile }