From 5e1c324642e09de89ef704eb335778bab96f1073 Mon Sep 17 00:00:00 2001 From: Krzysztof Zapior Date: Fri, 11 Oct 2024 09:11:14 +0200 Subject: [PATCH] update: Android update the page size to 16kB Signed-off-by: Krzysztof Zapior --- norddrop/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/norddrop/build.rs b/norddrop/build.rs index 04790af..9dc0921 100644 --- a/norddrop/build.rs +++ b/norddrop/build.rs @@ -88,7 +88,7 @@ fn main() -> Result<(), Box> { if target_os == "android" { let pkg_name = env!("CARGO_PKG_NAME"); let soname = format!("lib{}.so", pkg_name); - println!("cargo:rustc-cdylib-link-arg=-Wl,-soname,{}", soname); + println!("cargo:rustc-cdylib-link-arg=-Wl,-z,max-page-size=16384,-soname,{}", soname); } Ok(())