aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2022-10-21 07:28:42 -0700
committerDan Willemsen <dwillemsen@google.com>2022-10-21 07:30:03 -0700
commit58c647555856674b22c1af0dc0274912101d297f (patch)
tree98fd7584c4143ae4a5e61495368bb425a019bc41 /Android.bp
parente754edc2596d77cad11fdb6afa7855b272f0bf04 (diff)
downloadcpython3-58c647555856674b22c1af0dc0274912101d297f.tar.gz
Add missing sqlite module into our python3 build
Bug: 195474139 Test: py3-cmd -c "import sqlite3; print(sqlite3.sqlite_version)" Change-Id: I439da2b86bd4b9425293c633a6217775daf5132a
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index d7e8449692..5154b97a74 100644
--- a/Android.bp
+++ b/Android.bp
@@ -499,7 +499,9 @@ cc_library_static {
cflags: [
"-DPy_BUILD_CORE_BUILTIN",
"-DUSE_PYEXPAT_CAPI",
+ "-DSQLITE_OMIT_LOAD_EXTENSION",
],
+ shared_libs: ["libsqlite"],
static_libs: [
"libexpat",
"libz",