Browse Source

Updated libsqlite3 compile pre-defined macro.

master
jiaojinxing 3 years ago
parent
commit
5c9d74bb79
  1. 11
      libsqlite3.mk

11
libsqlite3.mk

@ -43,7 +43,16 @@ LOCAL_INC_PATH :=
#********************************************************************************************************* #*********************************************************************************************************
# Pre-defined macro (eg. -DYOUR_MARCO=1) # Pre-defined macro (eg. -DYOUR_MARCO=1)
#********************************************************************************************************* #*********************************************************************************************************
LOCAL_DSYMBOL := -D__NEED_LIKELY__ LOCAL_DSYMBOL := \
-DSQLITE_THREADSAFE=1 \
-DSQLITE_ENABLE_FTS3=1 \
-DSQLITE_ENABLE_FTS3_PARENTHESIS=1 \
-DSQLITE_ENABLE_FTS4=1 \
-DSQLITE_ENABLE_FTS5=1 \
-DSQLITE_ENABLE_JSON1=1 \
-DSQLITE_ENABLE_RTREE=1 \
-DSQLITE_ENABLE_UPDATE_DELETE_LIMIT=1 \
-D__NEED_LIKELY__
#********************************************************************************************************* #*********************************************************************************************************
# Depend library (eg. LOCAL_DEPEND_LIB := -la LOCAL_DEPEND_LIB_PATH := -L"Your library search path") # Depend library (eg. LOCAL_DEPEND_LIB := -la LOCAL_DEPEND_LIB_PATH := -L"Your library search path")

Loading…
Cancel
Save