Skip to content

Commit 9f8df44

Browse files
committed
Fixed app files dir reference in sdl2 start.c
1 parent 4b33479 commit 9f8df44

File tree

1 file changed

+1
-1
lines changed
  • pythonforandroid/bootstraps/sdl2/build/jni/src

1 file changed

+1
-1
lines changed

pythonforandroid/bootstraps/sdl2/build/jni/src/start.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ int main(int argc, char *argv[]) {
156156
if (dir_exists("lib")) {
157157
/* If we built our own python, set up the paths correctly */
158158
LOGP("Setting up python from ANDROID_PRIVATE");
159-
PyRun_SimpleString("private = posix.environ['ANDROID_PRIVATE'] + '/app'\n"
159+
PyRun_SimpleString("private = posix.environ['ANDROID_APP_PATH']\n"
160160
"argument = posix.environ['ANDROID_ARGUMENT']\n"
161161
"sys.path[:] = [ \n"
162162
" private + '/lib/python27.zip', \n"

0 commit comments

Comments
 (0)