From 904713b3afd9b35d23d649d421e83197fface4ce Mon Sep 17 00:00:00 2001 From: ben Date: Sun, 23 Feb 2003 13:42:34 +0000 Subject: [PATCH] Set the executable fragment name (in CFM builds) to the name of the target pgram, rather than to "PuTTY" unconditionally. git-svn-id: svn://svn.tartarus.org/sgt/putty@2883 cda61777-01e9-0310-a592-d414129be87e --- mkfiles.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mkfiles.pl b/mkfiles.pl index 74e77a8f..63cbe0ec 100755 --- a/mkfiles.pl +++ b/mkfiles.pl @@ -623,7 +623,7 @@ Link_CFM68K = ILink Link_PPC = PPCLink Link_Carbon = PPCLink -LinkOptions = -c 'pTTY' -fragname PuTTY +LinkOptions = -c 'pTTY' LinkOptions_68K = {LinkOptions} -br 68k -model far -compact LinkOptions_CFM68K = {LinkOptions} -br 020 -model cfmseg -compact LinkOptions_PPC = {LinkOptions} @@ -692,7 +692,8 @@ foreach $p (&prognames("M")) { print &splitline("$prog.\L$arch\E \xc4 $objstr $rsrc", undef, "\xb6"); print "\n"; print &splitline("\tDuplicate -y $rsrc {Targ}", 69, "\xb6"), "\n"; - print &splitline("\t{Link_$arch} -o {Targ} {LinkOptions_$arch} " . + print &splitline("\t{Link_$arch} -o {Targ} -fragname $prog " . + "{LinkOptions_$arch} " . $objstr . " {Libs_$arch}", 69, "\xb6"), "\n"; print &splitline("\tSetFile -a BMi {Targ}", 69, "\xb6"), "\n\n"; } -- 2.11.0