replace script with flags

This commit is contained in:
mccakit
2025-10-03 01:06:19 +03:00
committed by Sam Lantinga
parent 2e4bc73916
commit f6e711c377
2 changed files with 1 additions and 7 deletions

View File

@@ -1615,7 +1615,7 @@ if(ANDROID)
endif() endif()
endif() endif()
if(TARGET SDL3-static) if(TARGET SDL3-static)
target_link_options(SDL3-static PRIVATE -Wl,--version-script=${CMAKE_CURRENT_LIST_DIR}/../android-project/android.export.sym) target_link_options(SDL3-static INTERFACE "-Wl,-u,JNI_OnLoad")
endif() endif()
elseif(EMSCRIPTEN) elseif(EMSCRIPTEN)

View File

@@ -1,6 +0,0 @@
{
global:
SDL_main;
JNI_OnLoad;
local: *;
};