mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-02 09:09:47 +01:00
* workaround for yet another #%$#@#^ EMX LD.EXE bug (link.res path must not be quoted)
git-svn-id: trunk@8706 -
This commit is contained in:
parent
9715eceee7
commit
cd82fd376f
@ -517,7 +517,15 @@ begin
|
||||
Replace(cmdstr,'$DOSHEAPKB',tostr((stacksize+1023) shr 10));
|
||||
Replace(cmdstr,'$STRIP',StripStr);
|
||||
Replace(cmdstr,'$APPTYPE',AppTypeStr);
|
||||
(*
|
||||
Arrgh!!! The ancient EMX LD.EXE simply dies without saying anything
|
||||
if the full pathname to link.res is quoted!!!!! @#$@@^%@#$^@#$^@^#$
|
||||
This means that name of the output directory cannot contain spaces,
|
||||
but at least it works otherwise...
|
||||
|
||||
Replace(cmdstr,'$RES',maybequoted(outputexedir+Info.ResName));
|
||||
*)
|
||||
Replace(cmdstr,'$RES',outputexedir+Info.ResName);
|
||||
Replace(cmdstr,'$OPT',Info.ExtraOptions);
|
||||
Replace(cmdstr,'$RSRC',RsrcStr);
|
||||
Replace(cmdstr,'$OUT',maybequoted(OutName));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user