Browse Source

Fixing random behaviour of sqlite on android

doc_update_sequoia
Edouard Tisserant 6 years ago
parent
commit
db68c5649f
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      build-android/jni/Android.mk

+ 9
- 0
build-android/jni/Android.mk View File

@ -16,6 +16,15 @@ endif
LOCAL_MODULE := pEpEngine
LOCAL_CFLAGS += -std=c99
# from http://www.sqlite.org/android/finfo?name=jni/sqlite/Android.mk
# http://www.sqlite.org/android/artifact/e8ed354b3e58c835
# This is important - it causes SQLite to use memory for temp files. Since
# Android has no globally writable temp directory, if this is not defined the
# application throws an exception when it tries to create a temp file.
#
LOCAL_CFLAGS += -DSQLITE_TEMP_STORE=3
LOCAL_C_INCLUDES := ../../src \
../../asn.1 \
$(GPGME_INCLUDE_PATH) \


Loading…
Cancel
Save