Don't directly link to libGL from the EGL/KMS platform

The KMS platform accesses all of it's GL symbols via the indirection
through the Cogl context so there is no need to link against it
directly. This helps when trying to use Cogl with GLES where pulling
in Xlib via libGL is potentially a problem.

Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
Neil Roberts 2012-03-15 16:15:49 +00:00
parent fd31da45e2
commit 7513aca394

View File

@ -781,7 +781,6 @@ AS_IF([test "x$enable_kms_egl_platform" == "xyes"],
[
COGL_PKG_REQUIRES="$COGL_PKG_REQUIRES gbm"
COGL_PKG_REQUIRES="$COGL_PKG_REQUIRES libdrm"
COGL_PKG_REQUIRES="$COGL_PKG_REQUIRES gl"
],
[AC_MSG_ERROR([Unable to locate required kms libraries])])