mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-03 16:36:25 +00:00
replace script with flags
This commit is contained in:
@@ -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)
|
||||||
|
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
global:
|
|
||||||
SDL_main;
|
|
||||||
JNI_OnLoad;
|
|
||||||
local: *;
|
|
||||||
};
|
|
Reference in New Issue
Block a user