mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-07 22:59:36 +01:00
* Use exepath on all platforms
git-svn-id: trunk@44699 -
This commit is contained in:
parent
02ed51ea25
commit
39fa965790
@ -941,9 +941,7 @@ implementation
|
|||||||
Replace(s,'$FPCDATE',date_string);
|
Replace(s,'$FPCDATE',date_string);
|
||||||
Replace(s,'$FPCCPU',target_cpu_string);
|
Replace(s,'$FPCCPU',target_cpu_string);
|
||||||
Replace(s,'$FPCOS',target_os_string);
|
Replace(s,'$FPCOS',target_os_string);
|
||||||
{$ifndef darwin}
|
Replace(s,'$FPCBINDIR',ExtractFilePath(exepath));
|
||||||
Replace(s,'$FPCBINDIR',ExtractFilePath(FixFileName(system.paramstr(0))));
|
|
||||||
{$endif}
|
|
||||||
if (tf_use_8_3 in Source_Info.Flags) or
|
if (tf_use_8_3 in Source_Info.Flags) or
|
||||||
(tf_use_8_3 in Target_Info.Flags) then
|
(tf_use_8_3 in Target_Info.Flags) then
|
||||||
Replace(s,'$FPCTARGET',target_os_string)
|
Replace(s,'$FPCTARGET',target_os_string)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user