SDL
SDL copied to clipboard
libSDL3.so.0 has a link dependency on libEGL.so.1
$ objdump -p libSDL3.so | grep NEEDED
NEEDED libm.so.6
NEEDED libEGL.so.1
NEEDED libc.so.6
Is this with SDL_OPENVR=ON ?
Yes. Is that expected?
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.
Thanks, so we'd need to inject a header at the top replacing the direct call with dynamically loaded ones.
CC: @slouken