Skip to content

Commit 4b396d5

Browse files
jsyjbabarpavlik
authored andcommitted
[Android] libopenxr_loader.so Support 16 KB page size
1 parent f17d5ea commit 4b396d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/loader/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ if(ANDROID)
151151
target_link_libraries(
152152
openxr_loader PRIVATE ${ANDROID_LOG_LIBRARY} ${ANDROID_LIBRARY}
153153
)
154+
target_link_options(openxr_loader PRIVATE
155+
"-Wl,-z,max-page-size=16384"
156+
)
154157

155158
elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
156159
set(FALLBACK_CONFIG_DIRS

0 commit comments

Comments
 (0)