Skip to content

Commit

Permalink
NVA-7973_android_page_size_16kb
Browse files Browse the repository at this point in the history
Signed-off-by: Krzysztof Zapior <[email protected]>
  • Loading branch information
Krzysztof Zapior committed Oct 11, 2024
1 parent bc29f19 commit bb87e18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ fn main() -> Result<()> {
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);
}

#[cfg(windows)]
Expand Down

0 comments on commit bb87e18

Please sign in to comment.