Skip to content

Commit 924d00b

Browse files
authored
Merge pull request kivy#1000 from kivy/fix_sqlite3_blacklist
Fixed the blacklisting of sqlite3 under sdl2
2 parents 6d19a6d + 4a4ca8d commit 924d00b

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

pythonforandroid/bootstraps/sdl2/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ def run_distribute(self):
111111
shprint(sh.mv, filen, filen.split('.')[0] + '.so')
112112
site_packages_dir = join(abspath(curdir),
113113
site_packages_dir)
114+
if 'sqlite3' not in self.ctx.recipe_build_order:
115+
with open('blacklist.txt', 'a') as fileh:
116+
fileh.write('\nsqlite3/*\nlib-dynload/_sqlite3.so\n')
114117

115118

116119
self.strip_libraries(arch)

pythonforandroid/bootstraps/sdl2/build/blacklist.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,3 @@ lib-dynload/_testcapi.so
8181

8282
# odd files
8383
plat-linux3/regen
84-
85-
#>sqlite3
86-
# conditionnal include depending if some recipes are included or not.
87-
sqlite3/*
88-
lib-dynload/_sqlite3.so
89-
#<sqlite3
90-

0 commit comments

Comments
 (0)