android symbol export for release builds

(cherry picked from commit fe92d0a7bd)
This commit is contained in:
mccakit authored and Sam Lantinga committed 2025-10-02 16:01:17 -07:00
1 parent d69f658835
commit e60acdc477
2 files changed
+11

No files matched your search

+5
View File
@@ -1489,6 +1489,11 @@ if(ANDROID)
endif()
endif()
endif()
if(TARGET SDL3-shared)
target_link_options(SDL3-shared PRIVATE -Wl,--version-script=${CMAKE_CURRENT_LIST_DIR}/../android-project/android.export.sym)
elseif(TARGET SDL3-static)
target_link_options(SDL3-static PRIVATE -Wl,--version-script=${CMAKE_CURRENT_LIST_DIR}/../android-project/android.export.sym)
endif()
elseif(EMSCRIPTEN)
# Hide noisy warnings that intend to aid mostly during initial stages of porting a new
+6
View File
@@ -0,0 +1,6 @@
{
global:
SDL_main;
JNI_OnLoad;
local: *;
};