Собираю Cairo с libGLESv2 для вывода. Получаю такое:
CCLD cairo-test-suite
/tmp/wayland/lib/libGLESv2.so: undefined reference to `_glapi_Dispatch'
/tmp/wayland/lib/libgbm.so: undefined reference to `gbm_dri_backend'
/tmp/wayland/lib/libGLESv2.so: undefined reference to `_glapi_get_dispatch'
collect2: error: ld returned 1 exit status