Skip to content

Commit df3ec2a

Browse files
author
wangyongqi
committed
Android supports 16KB page size
1 parent bd56dfe commit df3ec2a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

android/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,7 @@ set_target_properties(
8686
C_VISIBILITY_PRESET hidden
8787
VISIBILITY_INLINES_HIDDEN 1
8888
)
89+
90+
# Add 16 KB page size compatibility
91+
target_link_options(webcrypto PRIVATE "-Wl,-z,max-page-size=16384")
92+
target_link_options(webcrypto PRIVATE "-Wl,-z,common-page-size=16384")

0 commit comments

Comments
 (0)