@onekeyfe/react-native-split-bundle-loader 3.0.65 → 3.0.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/CMakeLists.txt +6 -0
- package/package.json +1 -1
package/android/CMakeLists.txt
CHANGED
|
@@ -26,6 +26,12 @@ add_library(
|
|
|
26
26
|
src/main/cpp/SplitBundleLoaderJSI.cpp
|
|
27
27
|
)
|
|
28
28
|
|
|
29
|
+
# Android 15 (API 35) 16KB page-size support: align the .so's LOAD segments to
|
|
30
|
+
# 16384 bytes. This is a link-time only flag, so it belongs on the target's link
|
|
31
|
+
# step — not in CMAKE_C/CXX_FLAGS (which also reach the compile step, where -Wl
|
|
32
|
+
# is ignored and warns).
|
|
33
|
+
target_link_options(splitbundleloader PRIVATE "-Wl,-z,max-page-size=16384")
|
|
34
|
+
|
|
29
35
|
target_include_directories(
|
|
30
36
|
splitbundleloader
|
|
31
37
|
PRIVATE
|