浏览代码

* pas2jni: Minor fix to exe extension.

git-svn-id: trunk@33436 -
yury 9 年之前
父节点
当前提交
a934312e4f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      utils/pas2jni/ppuparser.pas

+ 1 - 1
utils/pas2jni/ppuparser.pas

@@ -737,7 +737,7 @@ var
   i, j: integer;
 begin
   try
-    fpc:=ExtractFilePath(ppudumpprog) + 'fpc' + ExtractFileExt(ppudumpprog);
+    fpc:=ExtractFilePath(ppudumpprog) + 'fpc' + ExtractFileExt(ParamStr(0));
     if not FileExists(fpc) then
       exit;
     // Find the compiler binary