[Buildroot] [RFC] package/sdl2_ttf: include GL/gl.h while checking for OpenGL support

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Jan 27 08:44:20 UTC 2017


On Thu, 29 Dec 2016 01:47:35 +0100, Romain Naour wrote:
> Since SDL2 2.0.4, SDL2 OpenGL headers (SDL_opengl.h) are unconditionally
> installed even if the OpenGL support has been disabled. So the SDL_ttf
> build system enable the OpenGL support without checking for a GL
> provider.

Isn't the real fix to modify SDL so that it doesn't install
SDL_opengl.h when OpenGL support is disabled?

What was the motivation between the change in SDL to install
SDL_opengl.h unconditionally?

Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering

More information about the buildroot mailing list