fix sqlite3 includes in python3 recipe
This commit is contained in:
parent
e72071fc3f
commit
9d94a8fed5
2 changed files with 2 additions and 2 deletions
|
@ -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'))
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue