[Buildroot] [PATCH 2/2] package/cegui: select libglu when libgl is detected

Bernd Kuhls bernd.kuhls at t-online.de
Sun May 3 17:15:23 UTC 2020


Hi,

Am Thu, 30 Apr 2020 21:54:15 +0200 schrieb Bartosz Bilas:

> Are you sure? There is a couple of packages which have similar fix such
> as:
> 
> package/ogre/Config.in:    select BR2_PACKAGE_LIBGLU # GL/glu.h

sent http://patchwork.ozlabs.org/project/buildroot/patch/
20200503171227.1411086-1-bernd.kuhls at t-online.de/

which removes the libglu dependency coming from upstream-included glew.h.

> package/supertux/Config.in:    select BR2_PACKAGE_LIBGLU # GL/glu.h

dito, sent http://patchwork.ozlabs.org/project/buildroot/patch/
20200503171227.1411086-2-bernd.kuhls at t-online.de/

> package/lugaru/Config.in:    select BR2_PACKAGE_LIBGLU # GL/glu.h

This package directly includes GL/glu.h:

https://bitbucket.org/osslugaru/lugaru/src/
f6049187585733143f2fb2d688097cc711e15cf0/Source/gamegl.h#lines-42

and does not make use of libglew at all.

Cegui also directly includes GL/glu.h:

https://github.com/cegui/cegui/blob/master/cegui/include/CEGUI/
RendererModules/OpenGL/GL.h#L49

which makes libglu a hard dependency for this package even when
-DGLEW_NO_GLU was added to CXXFLAGS.

Regards, Bernd




More information about the buildroot mailing list