Skip to content

Commit 7f7e12b

Browse files
committed
Adds support for 16 KB page sizes for android
1 parent e1eae3c commit 7f7e12b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
APP_STL:=c++_static
2+
APP_SUPPORT_FLEXIBLE_PAGE_SIZES := true

sqlcipher/src/main/jni/sqlcipher/Android.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,12 @@ LOCAL_C_INCLUDES += $(LOCAL_PATH) $(LOCAL_PATH)/nativehelper/ $(LOCAL_PATH)/andr
3232

3333
LOCAL_MODULE:= libsqlcipher
3434
LOCAL_LDLIBS += -ldl -llog
35+
LOCAL_LDFLAGS += -Wl,-z,max-page-size=16384
3536
LOCAL_STATIC_LIBRARIES += static-libcrypto
3637

3738
include $(BUILD_SHARED_LIBRARY)
3839

3940
include $(CLEAR_VARS)
4041
LOCAL_MODULE := static-libcrypto
4142
LOCAL_SRC_FILES := $(LOCAL_PATH)/android-libs/$(TARGET_ARCH_ABI)/libcrypto.a
42-
include $(PREBUILT_STATIC_LIBRARY)
43+
include $(PREBUILT_STATIC_LIBRARY)

0 commit comments

Comments
 (0)