From 11e4ba69bbc6671d2cbfcd0236f9ce2a8da0857c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mozgowoj?= Date: Fri, 16 Aug 2024 20:37:32 +0200 Subject: [PATCH] themis-android: add support for devices that are configured to use a page size of 16 KB (#1051) Co-authored-by: Lukasz Mozgowoj Co-authored-by: Oleksii Radetskyi --- CHANGELOG.md | 2 ++ jni/CMakeLists.txt | 1 + 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bbbd36d13..e63da76b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ Changes that are currently in development and have not been released yet. +### Android wrapper +- Add support for Android devices that are configured to use a page size of 16 KB (Android 15+) ## [0.15.4](https://github.com/cossacklabs/themis/releases/tag/0.15.4), May 23 2024 diff --git a/jni/CMakeLists.txt b/jni/CMakeLists.txt index 17178ce1e..bf3c28ea1 100644 --- a/jni/CMakeLists.txt +++ b/jni/CMakeLists.txt @@ -64,3 +64,4 @@ target_include_directories(themis_jni ../third_party/boringssl/src/include ) target_link_libraries(themis_jni PRIVATE themis soter crypto decrepit) +target_link_options(themis_jni PRIVATE "-Wl,-z,max-page-size=16384")