File tree Expand file tree Collapse file tree 4 files changed +27
-0
lines changed
Expand file tree Collapse file tree 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
623623 list_modules
624624 ;;
625625 s)
626+ run_prepare
627+ run_source_modules
626628 push_arm
627629 bash
628630 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)
66
77This could happen if you are not using a validated SDK/NDK with Python for
88Android. 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() {
6363 export LDFLAGS=" $LDFLAGS -L$BUILD_openssl /"
6464 fi
6565
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+
6673 try ./configure --host=arm-eabi --prefix=" $BUILD_PATH /python-install" --enable-shared --disable-toolbox-glue --disable-framework
6774 echo ./configure --host=arm-eabi --prefix=" $BUILD_PATH /python-install" --enable-shared --disable-toolbox-glue --disable-framework
6875 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
7676multiprocessing/dummy*
7777
7878# unused binaries python modules
79+ lib-dynload/_sqlite3.so
7980lib-dynload/termios.so
8081lib-dynload/_lsprof.so
8182lib-dynload/*audioop.so
You can’t perform that action at this time.
0 commit comments