Explorar o código

* pas2jni: Minor fix to exe extension.

git-svn-id: trunk@33436 -
yury %!s(int64=9) %!d(string=hai) anos
pai
achega
a934312e4f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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