From 9d94a8fed53bf9bd2eaa837195d8dacc09000156 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Sun, 22 Aug 2021 08:04:55 +0100 Subject: [PATCH] fix sqlite3 includes in python3 recipe --- recipes/python3crystax/__init__.py | 2 +- recipes/sqlite3/Android.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/python3crystax/__init__.py b/recipes/python3crystax/__init__.py index 6a2e0ca..d9bf4fc 100644 --- a/recipes/python3crystax/__init__.py +++ b/recipes/python3crystax/__init__.py @@ -277,7 +277,7 @@ class Python3Recipe(TargetPythonRecipe): include_dir = join(sqlite3_build_dir, 'include') if stage < 1.3: ndk_include_dir = join(sqlite3_ndk_dir, 'include') - ensure_dir(sqlite3_ndk_dir) + ensure_dir(ndk_include_dir) shprint(sh.cp, '-f', join(sqlite3_build_dir, 'sqlite3.h'), join(ndk_include_dir, 'sqlite3.h')) shprint(sh.cp, '-f', join(sqlite3_build_dir, 'sqlite3ext.h'), join(ndk_include_dir, 'sqlite3ext.h')) diff --git a/recipes/sqlite3/Android.mk b/recipes/sqlite3/Android.mk index 3542d86..2dee0b3 100644 --- a/recipes/sqlite3/Android.mk +++ b/recipes/sqlite3/Android.mk @@ -5,6 +5,6 @@ LOCAL_PATH := $(TOP_PATH) LOCAL_SRC_FILES := sqlite3.c LOCAL_MODULE := sqlite3_static LOCAL_MODULE_FILENAME := libsqlite3 -LOCAL_CFLAGS := -DSQLITE_ENABLE_FTS4 -D_FILE_OFFSET_BITS=64 +LOCAL_CFLAGS := -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -D_FILE_OFFSET_BITS=64 include $(BUILD_STATIC_LIBRARY)