瀏覽代碼

* Use exepath on all platforms

git-svn-id: trunk@44700 -
michael 5 年之前
父節點
當前提交
71784254ab
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/globals.pas

+ 1 - 1
compiler/globals.pas

@@ -941,7 +941,7 @@ implementation
          Replace(s,'$FPCDATE',date_string);
          Replace(s,'$FPCCPU',target_cpu_string);
          Replace(s,'$FPCOS',target_os_string);
-         Replace(s,'$FPCBINDIR',ExtractFilePath(exepath));
+         Replace(s,'$FPCBINDIR',exepath);
          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)