Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ index 740510f..0c8e55f 100644
+++ b/setup.py
@@ -53,7 +53,7 @@ except ImportError:

if platform == 'android':
if PLATFORM == 'android':
# for android, we use SDL...
- libraries = ['sdl', 'log']
+ libraries = ['main', 'log']
library_dirs = ['libs/' + getenv('ARCH')]
elif platform == 'darwin':
- LIBRARIES = ['sdl', 'log']
+ LIBRARIES = ['main', 'log']
LIBRARY_DIRS = ['libs/' + getenv('ARCH')]
elif PLATFORM == 'darwin':
import subprocess
10 changes: 5 additions & 5 deletions pythonforandroid/recipes/pyjnius/sdl2_jnienv_getter.patch
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ index 740510f..0c8e55f 100644
+++ b/setup.py
@@ -53,7 +53,7 @@ except ImportError:

if platform == 'android':
if PLATFORM == 'android':
# for android, we use SDL...
- libraries = ['sdl', 'log']
+ libraries = ['SDL2', 'log']
library_dirs = ['libs/' + getenv('ARCH')]
elif platform == 'darwin':
- LIBRARIES = ['sdl', 'log']
+ LIBRARIES = ['SDL2', 'log']
LIBRARY_DIRS = ['libs/' + getenv('ARCH')]
elif PLATFORM == 'darwin':
import subprocess