We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa9cade commit 0388117Copy full SHA for 0388117
pythonforandroid/recipes/android/__init__.py
@@ -73,7 +73,12 @@ def prebuild_arch(self, arch):
73
))
74
self.config_env[key] = str(value)
75
76
- if is_sdl:
+ if bootstrap_name == "sdl2":
77
+ fh.write('JNIEnv *SDL_AndroidGetJNIEnv(void);\n')
78
+ fh.write(
79
+ '#define SDL_ANDROID_GetJNIEnv SDL_AndroidGetJNIEnv\n'
80
+ )
81
+ elif bootstrap_name == "sdl3":
82
fh.write('JNIEnv *SDL_GetAndroidJNIEnv(void);\n')
83
fh.write(
84
'#define SDL_ANDROID_GetJNIEnv SDL_GetAndroidJNIEnv\n'
0 commit comments