Skip to content

Commit 4a61b46

Browse files
authored
Merge pull request #4 from hoppjan/patch-1
fix(android): libpdfiumjni.so for 16 KB page sizes
2 parents 7069141 + 1e5441f commit 4a61b46

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)