Quellcode durchsuchen

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.
Anonymous Maarten vor 3 Jahren
Ursprung
Commit
9451d3079d
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      src/dynapi/SDL_dynapi.sym

+ 1 - 0
src/dynapi/SDL_dynapi.sym

@@ -1,6 +1,7 @@
 SDL3_0.0.0 {
 SDL3_0.0.0 {
   global:
   global:
     JNI_OnLoad;
     JNI_OnLoad;
+    SDL_DYNAPI_entry;
     SDL_AddEventWatch;
     SDL_AddEventWatch;
     SDL_AddGamepadMapping;
     SDL_AddGamepadMapping;
     SDL_AddGamepadMappingsFromRW;
     SDL_AddGamepadMappingsFromRW;