dynapi: SDL_DYNAPI_entry must be in version script

For SDL dynapi to work, the SDL_DYNAPI_entry symbol must be externally visible.
Adding __attribute__((visibility(default))) would not work
since version scripts override these.
This commit is contained in:
Anonymous Maarten authored and Sam Lantinga committed 2023-03-17 08:53:14 -07:00
1 parent 4286f463a8
commit 9451d3079d
1 file changed
+1
+1
View File
@@ -1,6 +1,7 @@
SDL3_0.0.0 {
global:
JNI_OnLoad;
SDL_DYNAPI_entry;
SDL_AddEventWatch;
SDL_AddGamepadMapping;
SDL_AddGamepadMappingsFromRW;