Building for imx6qsabresd, core-image-x11 or core-image-clutter, libsdl2 will not compile. It gives a bunch of missing egl-> members such as egl->data, egl->surface in SDL_x11_window.c.
Am I missing a pre-requisite for libsdl2?
libsdl does build, but pygame fails to run, giving bad opcode major 149 errors.