From 2b0dffffd2c23f8141f462a4804d19f8ec389141 Mon Sep 17 00:00:00 2001 From: haricot Date: Wed, 4 Nov 2015 22:33:52 +0100 Subject: [PATCH] fix build recipes pyjnius. diff a/setup.py b/setup.py. patch sdl2_jnienv_getter.patch (@@ -41,7 +41,7 @@ to @@ -53,7 +53,7 @@ ) --- pythonforandroid/recipes/pyjnius/sdl2_jnienv_getter.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pythonforandroid/recipes/pyjnius/sdl2_jnienv_getter.patch b/pythonforandroid/recipes/pyjnius/sdl2_jnienv_getter.patch index 583e2a47ba..42aacbbe71 100644 --- a/pythonforandroid/recipes/pyjnius/sdl2_jnienv_getter.patch +++ b/pythonforandroid/recipes/pyjnius/sdl2_jnienv_getter.patch @@ -13,15 +13,15 @@ index ac89fec..3ca9e0f 100644 + return SDL_AndroidGetJNIEnv() + # return SDL_ANDROID_GetJNIEnv() diff --git a/setup.py b/setup.py -index c6beedd..3cc7c4e 100644 +index 740510f..0c8e55f 100644 --- a/setup.py +++ b/setup.py -@@ -41,7 +41,7 @@ except ImportError: +@@ -53,7 +53,7 @@ except ImportError: if platform == 'android': # for android, we use SDL... - libraries = ['sdl', 'log'] + libraries = ['SDL2', 'log'] - library_dirs = ['libs/' + environ['ARCH']] + library_dirs = ['libs/' + getenv('ARCH')] elif platform == 'darwin': import subprocess