From 619491e85292f78fdedaceb559c2b485681c5db5 Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Tue, 2 Aug 2022 17:52:19 +0200 Subject: [PATCH] Fix searching of gstrip binary in cross-environment for solaris OS target (cherry picked from commit fecdaeed0d3bed360647dda6c864588f1245f570) --- compiler/systems/t_sunos.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/systems/t_sunos.pas b/compiler/systems/t_sunos.pas index 1e9cde25a8..c9040e6700 100644 --- a/compiler/systems/t_sunos.pas +++ b/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 }