lbry-android-sdk/MovedRecipes/sqlite3/Android.mk

17 lines
434 B
Makefile
Raw Permalink Normal View History

2021-08-22 08:45:58 +02:00
TOP_PATH := $(call my-dir)/..
2018-08-13 08:12:13 +02:00
include $(CLEAR_VARS)
2021-08-22 08:45:58 +02:00
LOCAL_PATH := $(TOP_PATH)
2018-08-13 08:12:13 +02:00
LOCAL_SRC_FILES := sqlite3.c
2021-08-22 08:45:58 +02:00
LOCAL_MODULE := sqlite3_static
LOCAL_MODULE_FILENAME := libsqlite3
LOCAL_CFLAGS := \
-DSQLITE_BYTEORDER=1234 \
-DSQLITE_DIRECT_OVERFLOW_READ \
-DSQLITE_ENABLE_ATOMIC_WRITE \
-DSQLITE_ENABLE_BATCH_ATOMIC_WRITE \
-DSQLITE_ENABLE_FTS4 \
-DSQLITE_ENABLE_FTS5 \
-D_FILE_OFFSET_BITS=64
2021-08-22 08:45:58 +02:00
include $(BUILD_STATIC_LIBRARY)