Browse Source

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

Pierre Muller 3 years ago
parent
commit
fecdaeed0d
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
      SplitBinCmd(Info.DllCmd[2],binstr,cmdstr);
      Replace(cmdstr,'$EXE',maybequoted(current_module.sharedlibfilename));
-     success:=DoExec(utilsprefix+FindUtil(binstr),cmdstr,true,false);
+     success:=DoExec(FindUtil(utilsprefix+binstr),cmdstr,true,false);
    end;
 
 { Remove ReponseFile }