10000 fixes crash on ctypes with Python 3 · zworkb/python-for-android@70678ab · GitHub
[go: up one dir, main page]

Skip to content

Commit 70678ab

Browse files
committed
fixes crash on ctypes with Python 3
1 parent d0798b2 commit 70678ab

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

pythonforandroid/recipes/python3/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ class Python3Recipe(GuestPythonRecipe):
2424
depends = ['hostpython3']
2525
conflicts = ['python3crystax', 'python2', 'python2legacy']
2626

27+
patches = [
28+
'patches/fix-ctypes-with-system-ffi.patch'
29+
]
30+
2731
configure_args = (
2832
'--host={android_host}',
2933
'--build={android_build}',
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
--- a/configure.orig 2019-01-21 16:30:12.359453312 +0100
2+
+++ b/configure 2019-01-21 16:31:07.481526333 +0100
3+
@@ -10246,6 +10246,7 @@
4+
else
5+
LIBFFI_INCLUDEDIR=""
6+
fi
7+
+LIBFFI_INCLUDEDIR=""
8+
9+
10+
# Check for use of the system libmpdec library

0 commit comments

Comments
 (0)
0