replace script with flags

(cherry picked from commit f6e711c377)
This commit is contained in:
mccakit authored and Sam Lantinga committed 2025-10-02 16:01:17 -07:00
1 parent db07924104
commit 0448f20394
2 files changed
+1 -7

No files matched your search

+1 -1
View File
@@ -1490,7 +1490,7 @@ if(ANDROID)
endif()
endif()
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()
elseif(EMSCRIPTEN)
-6
View File
@@ -1,6 +0,0 @@
{
global:
SDL_main;
JNI_OnLoad;
local: *;
};