[Buildroot] [PATCH 1/2] package/cegui: force libglew when libepoxy is also enabled

Bartosz Bilas b.bilas at grinn-global.com
Thu Apr 30 19:50:12 UTC 2020


Hello Thomas,

On 29.04.2020 22:50, Thomas Petazzoni wrote:
> On Tue, 28 Apr 2020 21:58:43 +0200
> Bartosz Bilas <b.bilas at grinn-global.com> wrote:
>
>> Cegui doesn't allow to have enabled both opengl libraries so disable
>> libepoxy when both are enabled.
>>
>> Fixes:
>>    - http://autobuild.buildroot.net/results/2881bbcc2dcfcaa5ed663817ff39f7574430ba5a/build-end.log
>>
>> Signed-off-by: Bartosz Bilas <b.bilas at grinn-global.com>
>> ---
>>   package/cegui/cegui.mk | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/package/cegui/cegui.mk b/package/cegui/cegui.mk
>> index 434201b1f8..0e3d015948 100644
>> --- a/package/cegui/cegui.mk
>> +++ b/package/cegui/cegui.mk
>> @@ -18,7 +18,7 @@ CEGUI_DEPENDENCIES = glm \
>>   		$(if $(BR2_PACKAGE_LIBGLEW),libglew) \
>>   		$(if $(BR2_PACKAGE_LIBICONV),libiconv)
>>   
>> -ifeq ($(BR2_PACKAGE_LIBEPOXY),y)
>> +ifeq ($(BR2_PACKAGE_LIBEPOXY)$(BR2_PACKAGE_LIBGLEW),y)
> This way of solving the problem doesn't work: if BR2_PACKAGE_LIBEPOXY
> is false, but BR2_PACKAGE_LIBGLEW=y, then the condition is true, and we
> add a dependency on libepoxy. Not what we want. So I've replaced with
>
> +# libepoxy support cannot be enabled together with libglew
> +ifeq ($(BR2_PACKAGE_LIBEPOXY):$(BR2_PACKAGE_LIBGLEW),y:)
>
> instead.
Ouch, good catch! You are right - I've tested that with libepoxy=y and 
liblgew=y only. Thanks for the fix :)
>
> Thanks!
>
> Thomas
Best
Bartek


More information about the buildroot mailing list