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