|
1 | 1 | diff --git a/jnius/jnius_jvm_android.pxi b/jnius/jnius_jvm_android.pxi
|
2 |
| -index ac89fec..3ca9e0f 100644 |
| 2 | +index ac89fec..71daa43 100644 |
3 | 3 | --- a/jnius/jnius_jvm_android.pxi
|
4 | 4 | +++ b/jnius/jnius_jvm_android.pxi
|
5 |
| -@@ -1,5 +1,7 @@ |
| 5 | +@@ -1,5 +1,5 @@ |
6 | 6 | # on android, rely on SDL to get the JNI env
|
7 | 7 | -cdef extern JNIEnv *SDL_ANDROID_GetJNIEnv()
|
8 |
| -+# cdef extern JNIEnv *SDL_ANDROID_GetJNIEnv() |
9 | 8 | +cdef extern JNIEnv *SDL_AndroidGetJNIEnv()
|
10 | 9 |
|
11 | 10 | cdef JNIEnv *get_platform_jnienv():
|
12 | 11 | - return SDL_ANDROID_GetJNIEnv()
|
13 | 12 | + return <JNIEnv*>SDL_AndroidGetJNIEnv()
|
14 |
| -+ # return SDL_ANDROID_GetJNIEnv() |
15 | 13 | diff --git a/setup.py b/setup.py
|
16 |
| -index c6beedd..3cc7c4e 100644 |
| 14 | +index 740510f..0c8e55f 100644 |
17 | 15 | --- a/setup.py
|
18 | 16 | +++ b/setup.py
|
19 |
| -@@ -41,7 +41,7 @@ except ImportError: |
| 17 | +@@ -53,7 +53,7 @@ except ImportError: |
20 | 18 |
|
21 | 19 | if platform == 'android':
|
22 | 20 | # for android, we use SDL...
|
23 | 21 | - libraries = ['sdl', 'log']
|
24 | 22 | + libraries = ['SDL2', 'log']
|
25 |
| - library_dirs = ['libs/' + environ['ARCH']] |
| 23 | + library_dirs = ['libs/' + getenv('ARCH')] |
26 | 24 | elif platform == 'darwin':
|
27 | 25 | import subprocess
|
0 commit comments