We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90df704 commit 2b0dfffCopy full SHA for 2b0dfff
1 file changed
pythonforandroid/recipes/pyjnius/sdl2_jnienv_getter.patch
@@ -13,15 +13,15 @@ index ac89fec..3ca9e0f 100644
13
+ return <JNIEnv*>SDL_AndroidGetJNIEnv()
14
+ # return SDL_ANDROID_GetJNIEnv()
15
diff --git a/setup.py b/setup.py
16
-index c6beedd..3cc7c4e 100644
+index 740510f..0c8e55f 100644
17
--- a/setup.py
18
+++ b/setup.py
19
-@@ -41,7 +41,7 @@ except ImportError:
+@@ -53,7 +53,7 @@ except ImportError:
20
21
if platform == 'android':
22
# for android, we use SDL...
23
- libraries = ['sdl', 'log']
24
+ libraries = ['SDL2', 'log']
25
- library_dirs = ['libs/' + environ['ARCH']]
+ library_dirs = ['libs/' + getenv('ARCH')]
26
elif platform == 'darwin':
27
import subprocess
0 commit comments