Skip to content

Commit 1e5441f

Browse files
authored
fix(android): libpdfiumjni.so for 16 KB page sizes
1 parent 7069141 commit 1e5441f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pdfium/src/androidMain/cpp/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
66
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
77
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
88

9+
add_link_options("-Wl,-z,max-page-size=16384")
10+
911
# Headers staged by the Gradle task `installPdfiumHeaders`.
1012
set(PDFIUM_INCLUDE_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../build/pdfium/include")
1113
if(NOT EXISTS "${PDFIUM_INCLUDE_DIR}")

0 commit comments

Comments
 (0)