Skip to content

Commit eb6b5f9

Browse files
committed
Patching the tmp dir for Android
Former-commit-id: f9961459b08ddb2ac284057ece3f5bffbd6d0622 [formerly 70946f5e6593aefe51fc97cc75ad2ad448b8d707] [formerly f107938b0a94a58ab911d475b2a9d25a86e71378 [formerly 2d3213ecdc67af19c20b20680d289660820294ad]] Former-commit-id: 42018b3f106b6ff0cd425908eaf4eec6ae3d51c7 [formerly a7d1d4e4290c34705f91871658384b56bb6af79b] Former-commit-id: 633f1b530b3e3cd84e21466259ae28cf92645d29 Former-commit-id: 62e9db9
1 parent 777ee59 commit eb6b5f9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Tools/PyTools.ExecCmd.Args.pas

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ class function TExecCmdArgs.BuildEnvp(const AHome, AExecutable,
7474
Result := ['LD_LIBRARY_PATH=' + ExtractFileDir(ASharedLibrary),
7575
'PYTHONHOME=' + AHome,
7676
'PATH=' + ExtractFileDir(AExecutable)];
77+
{$IFDEF ANDROID}
78+
Result := Result + ['TMPDIR=' + TPath.GetTempPath()];
79+
{$ENDIF ANDROID}
7780
{$ENDIF MSWINDOWS}
7881
end;
7982

0 commit comments

Comments
 (0)