|
@@ -79,11 +79,17 @@ else
|
|
|
CAIRO_CONF_OPTS += --disable-gobject
|
|
|
endif
|
|
|
|
|
|
+# Can use GL or GLESv2 but not both
|
|
|
+ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
|
|
|
+CAIRO_CONF_OPTS += --enable-gl --disable-glesv2
|
|
|
+CAIRO_DEPENDENCIES += libgl
|
|
|
+else
|
|
|
ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y)
|
|
|
-CAIRO_CONF_OPTS += --enable-glesv2
|
|
|
+CAIRO_CONF_OPTS += --disable-gl --enable-glesv2
|
|
|
CAIRO_DEPENDENCIES += libgles
|
|
|
else
|
|
|
-CAIRO_CONF_OPTS += --disable-glesv2
|
|
|
+CAIRO_CONF_OPTS += --disable-gl --disable-glesv2
|
|
|
+endif
|
|
|
endif
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_LIBOPENVG),y)
|