File tree 3 files changed +13
-4
lines changed
3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -343,6 +343,9 @@ function run_prepare() {
343
343
echo " target=android-$ANDROIDAPI " > $SRC_PATH /default.properties
344
344
echo " sdk.dir=$ANDROIDSDK " > $SRC_PATH /local.properties
345
345
346
+ # copy the initial blacklist in build
347
+ try cp -a $SRC_PATH /blacklist.txt $BUILD_PATH
348
+
346
349
# check arm env
347
350
push_arm
348
351
debug " PATH is $PATH "
@@ -650,7 +653,7 @@ function run_distribute() {
650
653
try cp -a $SRC_PATH /src .
651
654
try cp -a $SRC_PATH /templates .
652
655
try cp -a $SRC_PATH /res .
653
- try cp -a $SRC_PATH /blacklist.txt .
656
+ try cp -a $BUILD_PATH /blacklist.txt .
654
657
655
658
debug " Copy python distribution"
656
659
$BUILD_PATH /python-install/bin/python.host -OO -m compileall $BUILD_PATH /python-install
Original file line number Diff line number Diff line change @@ -18,5 +18,6 @@ function build_sqlite3() {
18
18
}
19
19
20
20
function postbuild_sqlite3() {
21
- true
21
+ # ensure the blacklist doesn't contain sqlite3
22
+ $SED ' /#>sqlite3/,/#<sqlite3/d' $BUILD_PATH /blacklist.txt
22
23
}
Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ encodings/hz*
57
57
# unused python modules
58
58
bsddb/*
59
59
wsgiref/*
60
- sqlite3/*
61
60
hotshot/*
62
61
pydoc_data/*
63
62
tty.pyo
@@ -76,7 +75,6 @@ os2emxpath.pyo
76
75
multiprocessing/dummy*
77
76
78
77
# unused binaries python modules
79
- lib-dynload/_sqlite3.so
80
78
lib-dynload/termios.so
81
79
lib-dynload/_lsprof.so
82
80
lib-dynload/*audioop.so
@@ -92,3 +90,10 @@ lib-dynload/pyexpat.so
92
90
93
91
# odd files
94
92
plat-linux3/regen
93
+
94
+ #>sqlite3
95
+ # conditionnal include depending if some recipes are included or not.
96
+ sqlite3/*
97
+ lib-dynload/_sqlite3.so
98
+ #<sqlite3
99
+
You can’t perform that action at this time.
0 commit comments