Browse Source

* Do not expand FPCBINDIR on darwin

git-svn-id: trunk@44698 -
michael 5 năm trước cách đây
mục cha
commit
02ed51ea25
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      compiler/globals.pas

+ 2 - 0
compiler/globals.pas

@@ -941,7 +941,9 @@ implementation
          Replace(s,'$FPCDATE',date_string);
          Replace(s,'$FPCCPU',target_cpu_string);
          Replace(s,'$FPCOS',target_os_string);
+{$ifndef darwin}
          Replace(s,'$FPCBINDIR',ExtractFilePath(FixFileName(system.paramstr(0))));
+{$endif}
          if (tf_use_8_3 in Source_Info.Flags) or
             (tf_use_8_3 in Target_Info.Flags) then
            Replace(s,'$FPCTARGET',target_os_string)