Skip to content

Commit 67eb06a

Browse files
Merge branch 'brodybits-android-ndk-r23-update' into github-master
2 parents 7a9e683 + 17fa07d commit 67eb06a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,9 @@ For applications which utilize ProGuard, a few additional rules must be included
137137

138138
### Building
139139

140-
In order to build `android-database-sqlcipher` from source you will need both the Android SDK, Gradle, Android NDK, SQLCipher core source directory, and an OpenSSL source directory. We currently recommend using Android NDK version `r20`. To complete the `make` command, the `ANDROID_NDK_HOME` environment variable must be defined which should point to your NDK root. Once you have cloned the repo, change directory into the root of the repository and run the following commands:
140+
In order to build `android-database-sqlcipher` from source you will need both the Android SDK, Gradle, Android NDK, SQLCipher core source directory, and an OpenSSL source directory. We currently recommend using Android NDK LTS version `23.0.7599858`.
141+
142+
To complete the `make` command, the `ANDROID_NDK_HOME` environment variable must be defined which should point to your NDK root. Once you have cloned the repo, change directory into the root of the repository and run the following commands:
141143

142144
```
143145
SQLCIPHER_ROOT=/some/path/to/sqlcipher-folder \

android-database-sqlcipher/src/main/cpp/Android.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LOCAL_PATH := $(MY_PATH)
66
LOCAL_CFLAGS += $(SQLCIPHER_CFLAGS) $(SQLCIPHER_OTHER_CFLAGS)
77
LOCAL_C_INCLUDES += $(LOCAL_PATH)
88
LOCAL_LDLIBS := -llog
9-
LOCAL_LDFLAGS += -L$(ANDROID_NATIVE_ROOT_DIR)/$(TARGET_ARCH_ABI) -fuse-ld=bfd
9+
LOCAL_LDFLAGS += -L$(ANDROID_NATIVE_ROOT_DIR)/$(TARGET_ARCH_ABI)
1010
LOCAL_STATIC_LIBRARIES += static-libcrypto
1111
LOCAL_MODULE := libsqlcipher
1212
LOCAL_SRC_FILES := sqlite3.c \

0 commit comments

Comments
 (0)