From 9451d3079d8a562a36266fdc421fe43f3a3ad794 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Fri, 17 Mar 2023 05:54:01 +0100 Subject: [PATCH] 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. --- src/dynapi/SDL_dynapi.sym | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dynapi/SDL_dynapi.sym b/src/dynapi/SDL_dynapi.sym index 4b334c254c..910b055859 100644 --- a/src/dynapi/SDL_dynapi.sym +++ b/src/dynapi/SDL_dynapi.sym @@ -1,6 +1,7 @@ SDL3_0.0.0 { global: JNI_OnLoad; + SDL_DYNAPI_entry; SDL_AddEventWatch; SDL_AddGamepadMapping; SDL_AddGamepadMappingsFromRW;