File tree 4 files changed +27
-0
lines changed
4 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -623,6 +623,8 @@ while getopts ":hvlfxm:d:s" opt; do
623
623
list_modules
624
624
;;
625
625
s)
626
+ run_prepare
627
+ run_source_modules
626
628
push_arm
627
629
bash
628
630
pop_arm
Original file line number Diff line number Diff line change @@ -6,3 +6,20 @@ arm-linux-androideabi-gcc: Internal error: Killed (program cc1)
6
6
7
7
This could happen if you are not using a validated SDK/NDK with Python for
8
8
Android. Go to :doc: `prerequisites.rst ` to see which one are working.
9
+
10
+ _sqlite3.so not found
11
+ ---------------------
12
+
13
+ We recently fixed sqlite3 compilation. In case of, you must:
14
+
15
+ * Compile the distribution with (sqlite3 must be the first argument)::
16
+
17
+ ./distribute.sh -m 'sqlite3 kivy'
18
+
19
+ * Go into your distribution at `dist/default `
20
+ * Edit blacklist.txt, and remove all the lines concerning sqlite3::
21
+
22
+ sqlite3/*
23
+ lib-dynload/_sqlite3.so
24
+
25
+ And then, sqlite3 will be compiled, and included in your APK.
Original file line number Diff line number Diff line change @@ -63,6 +63,13 @@ function build_python() {
63
63
export LDFLAGS=" $LDFLAGS -L$BUILD_openssl /"
64
64
fi
65
65
66
+ # sqlite3 activated ?
67
+ if [ " X$BUILD_sqlite3 " != " X" ]; then
68
+ debug " Activate flags for sqlite3"
69
+ export CFLAGS=" $CFLAGS -I$BUILD_sqlite3 "
70
+ export LDFLAGS=" $LDFLAGS -L$SRC_PATH /obj/local/$ARCH /"
71
+ fi
72
+
66
73
try ./configure --host=arm-eabi --prefix=" $BUILD_PATH /python-install" --enable-shared --disable-toolbox-glue --disable-framework
67
74
echo ./configure --host=arm-eabi --prefix=" $BUILD_PATH /python-install" --enable-shared --disable-toolbox-glue --disable-framework
68
75
echo $MAKE HOSTPYTHON=$BUILD_python /hostpython HOSTPGEN=$BUILD_python /hostpgen CROSS_COMPILE_TARGET=yes INSTSONAME=libpython2.7.so
Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ os2emxpath.pyo
76
76
multiprocessing/dummy*
77
77
78
78
# unused binaries python modules
79
+ lib-dynload/_sqlite3.so
79
80
lib-dynload/termios.so
80
81
lib-dynload/_lsprof.so
81
82
lib-dynload/*audioop.so
You can’t perform that action at this time.
0 commit comments