SDL icon indicating copy to clipboard operation
SDL copied to clipboard

libSDL3.so.0 has a link dependency on libEGL.so.1

Open madebr opened this issue 1 year ago • 5 comments

$ objdump -p libSDL3.so  | grep NEEDED
  NEEDED               libm.so.6
  NEEDED               libEGL.so.1
  NEEDED               libc.so.6

madebr avatar Oct 25 '24 18:10 madebr

Is this with SDL_OPENVR=ON ?

sezero avatar Oct 25 '24 19:10 sezero

Yes. Is that expected?

madebr avatar Oct 25 '24 19:10 madebr

Well, the C code makes use of egl* calls if built for unix (non-windows) so the cmake'ry links to libEGL. Unless SDL_openvrvideo.c is changed, it is expected as far as I can see.

sezero avatar Oct 25 '24 19:10 sezero

Thanks, so we'd need to inject a header at the top replacing the direct call with dynamically loaded ones.

madebr avatar Oct 25 '24 19:10 madebr

CC: @slouken

sezero avatar Oct 25 '24 19:10 sezero