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(())