Reduce Android runtime symbol resolution (#4356)

This commit is contained in:
Adrian Cojocaru
2026-06-23 19:29:31 +03:00
committed by GitHub
parent 51b142b309
commit 7a26ce8107

View File

@@ -252,7 +252,10 @@ target_link_libraries(maplibre
$<$<CONFIG:Release>:-Wl,--icf=all> $<$<CONFIG:Release>:-Wl,--icf=all>
$<$<CONFIG:Release>:-Wl,--gc-sections> $<$<CONFIG:Release>:-Wl,--gc-sections>
$<$<CONFIG:Release>:-flto> $<$<CONFIG:Release>:-flto>
$<$<CONFIG:Release>:-fuse-ld=gold> $<$<CONFIG:Release>:-fuse-ld=lld>
$<$<CONFIG:Release>:-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/../../../version-script>
#$<$<CONFIG:Release>:-Wl,-Bsymbolic>
$<$<CONFIG:Release>:-Wl,-Bsymbolic-functions>
MapLibreNative::Base::jni.hpp MapLibreNative::Base::jni.hpp
mbgl-core mbgl-core
mbgl-vendor-unique_resource) mbgl-vendor-unique_resource)