From 8ba295f84f1b2a115df6438b85d645651b744b03 Mon Sep 17 00:00:00 2001 From: Bartosz Bilas Date: Tue, 28 Apr 2020 21:58:43 +0200 Subject: [PATCH] package/cegui: force libglew when libepoxy is also enabled 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 Signed-off-by: Thomas Petazzoni --- package/cegui/cegui.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/cegui/cegui.mk b/package/cegui/cegui.mk index 673340194a..9640a15116 100644 --- a/package/cegui/cegui.mk +++ b/package/cegui/cegui.mk @@ -19,7 +19,8 @@ CEGUI_DEPENDENCIES = glm \ $(if $(BR2_PACKAGE_LIBGLEW),libglew) \ $(if $(BR2_PACKAGE_LIBICONV),libiconv) -ifeq ($(BR2_PACKAGE_LIBEPOXY),y) +# libepoxy support cannot be enabled together with libglew +ifeq ($(BR2_PACKAGE_LIBEPOXY):$(BR2_PACKAGE_LIBGLEW),y:) CEGUI_DEPENDENCIES += libepoxy CEGUI_CONF_OPTS += -DCEGUI_USE_EPOXY=ON else